summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index 6d6620e1..2c85226b 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -749,7 +749,7 @@ class bulkrename(Command):
 		else:
 			cmdfile.write("\n".join("mv -vi " + esc(old) + " " + esc(new) \
 					for old, new in zip(filenames, new_filenames) if old != new))
-			cmdfile.flush()
+		cmdfile.flush()
 		self.fm.run(['vim', cmdfile.name])
 		self.fm.run(['/bin/sh', cmdfile.name], flags='w')
 		cmdfile.close()