Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BeeFOverWan.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def string_replace(filename, old_string, new_string):
with open(filename) as f:
s = f.read()
if old_string not in s:
print '"{old_string}" not found in {filename}.'.format(**locals())
print ('"{old_string}" not found in {filename}.').format(**locals())
return

# Safely write the changed content, if found in the file
Expand Down