1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 10:11:14 +00:00

#301 Fix UnicodeEncodeError in debug time tracker

This commit is contained in:
nvbn 2015-08-01 18:56:20 +03:00
parent 1a2c1aa4e9
commit 213e7bf74b

View File

@ -79,4 +79,4 @@ def debug_time(msg, settings):
try:
yield
finally:
debug('{} took: {}'.format(msg, datetime.now() - started), settings)
debug(u'{} took: {}'.format(msg, datetime.now() - started), settings)