diff options
author | hut <hut@lepus.uberspace.de> | 2015-04-17 09:04:21 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-04-17 09:04:21 +0200 |
commit | 11920818c6bd43e9c7fb2e654dff25650038c083 (patch) | |
tree | 50f2962ee0aa2fefe9a5b81c286a908c6f015c8f | |
parent | bababd8cd4259e90f20ab7dccde3de27cde8dcf6 (diff) | |
download | ranger-11920818c6bd43e9c7fb2e654dff25650038c083.tar.gz |
config.commands: removed the "b" before string literals
Why was it there anyway? Fixes #299
-rw-r--r-- | ranger/config/commands.py | 4 |
1 files 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) |