Skip to content

Commit

Permalink
Intentionally commit DBMD table
Browse files Browse the repository at this point in the history
Table may not be written to without commit and so we intentionally
commit it here.
  • Loading branch information
ross-spencer committed Sep 3, 2023
1 parent b01802e commit 4479d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sqlitefid/sqlitefid.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def handleDROIDCSV(droidcsv, BOM=False, in_memory=False):
loader = DROIDLoader(basedb, BOM, debug=debug)
loader.create_droid_database(droidcsv, basedb.getcursor())
basedb.createDBMD()
basedb.conn.commit()
return basedb.conn


Expand All @@ -81,6 +82,7 @@ def handleSFYAML(sfexport, in_memory=False):
loader = SFLoader(basedb)
loader.create_sf_database(sfexport, basedb.getcursor())
basedb.createDBMD()
basedb.conn.commit()
return basedb.conn


Expand Down

0 comments on commit 4479d32

Please sign in to comment.