Adding a piece to the SQLite implementation that I forgot last night
This commit is contained in:
parent
97b97f9a38
commit
a30961f884
@ -6,6 +6,7 @@ class SQLite(Database):
|
|||||||
super(self, Database).__init__()
|
super(self, Database).__init__()
|
||||||
|
|
||||||
self.db = sqlite3.connect(db_name)
|
self.db = sqlite3.connect(db_name)
|
||||||
|
self.db.autocommit = True
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.db.close()
|
self.db.close()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user