about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/commands.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index b1a1e81d..c496f71e 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -803,10 +803,7 @@ class bulkrename(Command):
         listfile.close()
         self.fm.execute_file([File(listpath)], app='editor')
         listfile = open(listpath, 'r')
-        if py3:
-            new_filenames = listfile.read().decode("utf-8").split("\n")
-        else:
-            new_filenames = listfile.read().split("\n")
+        new_filenames = listfile.read().split("\n")
         listfile.close()
         os.unlink(listpath)
         if all(a == b for a, b in zip(filenames, new_filenames)):