Files
tuir/rtv/content.py
Marc Antonio Queiroz 466af862b3 After update to version 1.6.1 a Unicode error start to happen.
Any SUBREDDIT with special characters like u'\xe3' are trigging an error at line 141, data['flair'] = '[{}]'.format(data['flair'].strip()) .
The solution was to add u'[{}]' to the string.
The original error message: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 7: ordinal not in range(128) .
2015-10-26 14:48:19 -02:00

15 KiB