diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index 2ff5fc5a..03addc95 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -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