Browse Source

pylint - use format for string formatting

pull/161/head
Oliverpool 9 years ago
parent
commit
d3046339d1
  1. 2
      patacrep/encoding.py

2
patacrep/encoding.py

@ -38,7 +38,7 @@ def detect_encoding(filename):
pass
else:
if encoding != 'utf-8':
LOGGER.info('Opening `%s` with `%s` encoding' % (filename, encoding))
LOGGER.info('Opening `{}` with `{}` encoding'.format(filename, encoding))
return encoding
finally:
filehandler.close()

Loading…
Cancel
Save