@ -175,7 +175,7 @@ class Importer:
def addFileToList(self, file, site, filter):
now = datetime.datetime.utcnow()
file = os.path.splitext(os.path.basename(file))[0]
try:
try: #TODO: this is a dirty hack. GBI needs it, GAI fails with it.
file = unicode(file, "utf8", "replace")
except TypeError:
pass