Skip to content
Snippets Groups Projects
Commit 0e247456 authored by ale's avatar ale
Browse files

call commit() on the right object

parent 1733c896
Branches
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ class FileDatabase(object):
c = self.conn.cursor()
c.execute('insert or replace into seen (sha1, stamp) values (?, ?)',
(key, int(time.time())))
c.commit()
self.conn.commit()
class Uploader(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment