diff options
Diffstat (limited to 'withsqlite.py')
-rw-r--r-- | withsqlite.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/withsqlite.py b/withsqlite.py index 4281a5e..13e7a89 100644 --- a/withsqlite.py +++ b/withsqlite.py @@ -181,7 +181,8 @@ True return self.__getitem__(k) except KeyError: return x - + def commit(self): + self.conn.commit() def clear(self): """a.clear() remove all items from a""" self.crsr.execute("delete from store") |