From: Alexander Schmidt Date: Mon, 26 Oct 2020 22:36:51 +0000 (+0100) Subject: fixing db creation X-Git-Url: http://git.treefish.org/~alex/photosort.git/commitdiff_plain/26ebc9ffad3914f871f52b39ac8ea7d05bb1e304 fixing db creation --- diff --git a/src/locator.py b/src/locator.py index 55142c5..7ec362f 100644 --- a/src/locator.py +++ b/src/locator.py @@ -69,6 +69,6 @@ class Locator: c = self._conn.cursor() c.execute('''CREATE TABLE cache (name TEXT, size INTEGER, meta_time INTEGER, file_dir TEXT, - access_time INTEGER) + access_time INTEGER), PRIMARY KEY (name, size, meta_time)''') self._conn.commit()