Fix occurence of unicode()
Fix unicode() -> six.text_type()
This commit is contained in:
parent
db6cc0c061
commit
41076dc96b
@ -330,7 +330,8 @@ def mark_entry_failed(entry_id, exc):
|
||||
atomic_update(mgg.database.MediaEntry,
|
||||
{'id': entry_id},
|
||||
{u'state': u'failed',
|
||||
u'fail_error': u'Unhandled exception: {0}'.format(unicode(exc)),
|
||||
u'fail_error': u'Unhandled exception: {0}'.format(
|
||||
six.text_type(exc)),
|
||||
u'fail_metadata': {}})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user