add todo note

This commit is contained in:
Steffen Schaumburg 2011-04-10 18:18:49 +02:00
parent d92c0fb27c
commit 76529adebb

View File

@ -175,7 +175,7 @@ class Importer:
def addFileToList(self, file, site, filter): def addFileToList(self, file, site, filter):
now = datetime.datetime.utcnow() now = datetime.datetime.utcnow()
file = os.path.splitext(os.path.basename(file))[0] 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") file = unicode(file, "utf8", "replace")
except TypeError: except TypeError:
pass pass