Support for Python 2.

master
Nick Sergeant 2015-12-02 10:10:52 -05:00
parent b0bab0584b
commit 088e744649
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ class PrivateSniptResource(ModelResource):
bundle.data['modified'] = None
bundle.data['user'] = user
if type(bundle.data['tags']) == str:
if type(bundle.data['tags']) == str or type(bundle.data['tags']) == unicode:
bundle.data['tags_list'] = bundle.data['tags']
else:
bundle.data['tags_list'] = ''