]> git.treefish.org Git - photosort.git/commitdiff
fixing db creation
authorAlexander Schmidt <alex@treefish.org>
Mon, 26 Oct 2020 22:36:51 +0000 (23:36 +0100)
committerAlexander Schmidt <alex@treefish.org>
Mon, 26 Oct 2020 22:36:51 +0000 (23:36 +0100)
src/locator.py

index 55142c544d56da8a354e8d19e4564dacdb2fc805..7ec362fc0772993ad1f6b3f86664bc9e1cb84a41 100644 (file)
@@ -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()