Skip to content

Commit

Permalink
small temporary change so we can debug unicode errors for now (1. the…
Browse files Browse the repository at this point in the history
…re should be a debug/verbose flag option and 2. a better way to log these messages)
  • Loading branch information
caiobegotti committed Apr 7, 2014
1 parent 2894f33 commit d3578b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lostphotosfound/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ def _charset_decoder(header):
header = header[0][0].decode(guessed).encode('utf-8')
else:
header = header[0][0].decode(header[0][1]).encode('utf-8')
print 'LOG: [decoded header] %s' % repr(header)

return header

0 comments on commit d3578b7

Please sign in to comment.