Bug fix - looks like Files inserts were not getting committed
This commit is contained in:
parent
1cbb1a6a18
commit
e47e76bfb0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user