From 11920818c6bd43e9c7fb2e654dff25650038c083 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 17 Apr 2015 09:04:21 +0200 Subject: config.commands: removed the "b" before string literals Why was it there anyway? Fixes #299 --- ranger/config/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index d2df029a..cb62a62b 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -850,8 +850,8 @@ class bulkrename(Command): # Generate script cmdfile = tempfile.NamedTemporaryFile() script_lines = [] - script_lines.append(b"# This file will be executed when you close the editor.\n") - script_lines.append(b"# Please double-check everything, clear the file to abort.\n") + script_lines.append("# This file will be executed when you close the editor.\n") + script_lines.append("# Please double-check everything, clear the file to abort.\n") script_lines.extend("mv -vi -- %s %s\n" % (esc(old), esc(new)) \ for old, new in zip(filenames, new_filenames) if old != new) script_content = "".join(script_lines) -- cgit 1.4.1-2-gfad0