Bug fix - looks like Files inserts were not getting committed

This commit is contained in:
Chaz Littlejohn 2011-04-08 22:43:27 +00:00
parent 1cbb1a6a18
commit e47e76bfb0

View File

@ -176,6 +176,7 @@ class Importer:
now = datetime.datetime.utcnow()
file = os.path.splitext(os.path.basename(file))[0]
id = self.database.storeFile([file, site, now, now, 0, 0, 0, 0, 0, 0, False])
self.database.commit()
return [site] + [filter] + [id]
#Add an individual file to filelist