Browse Source

Use logger instead of print

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

2
patacrep/encoding.py

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

Loading…
Cancel
Save