Browse Source

Bug fix - looks like Files inserts were not getting committed

master
Chaz Littlejohn 13 years ago
parent
commit
e47e76bfb0
  1. 1
      pyfpdb/fpdb_import.py

1
pyfpdb/fpdb_import.py

@ -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…
Cancel
Save