diff --git a/smash/web/importer/importer.py b/smash/web/importer/importer.py index 844c7dc8657cbdf99421fb72339ff06cfe096ab4..09ab2ed81251a53bad59b4ea4aec54cbc2b22969 100644 --- a/smash/web/importer/importer.py +++ b/smash/web/importer/importer.py @@ -34,6 +34,9 @@ class Importer(object): logger.warn("User does not exist: " + importer_user_name) else: self.importer_user = Worker.objects.filter(user=user) + reload(sys) + sys.setdefaultencoding('utf8') + def execute(self): self.added_count = 0