add todo note
This commit is contained in:
parent
d92c0fb27c
commit
76529adebb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user