Layout and porting the SQL fix over from master.

This commit is contained in:
Nick Foster
2012-07-18 17:11:19 -07:00
parent f8ac334dde
commit 004500a5d7
2 changed files with 128 additions and 128 deletions

View File

@@ -55,6 +55,7 @@ class output_sql(air_modes.parse):
);"""
c.execute(query)
c.close()
self.db.commit()
#we close the db conn now to reopen it in the output() thread context.
self.db.close()
self.db = None