X-Git-Url: http://git.treefish.org/~alex/photosort.git/blobdiff_plain/26ebc9ffad3914f871f52b39ac8ea7d05bb1e304..797a8228d05a1080d6928721d96a53f8fc91ec06:/src/locator.py diff --git a/src/locator.py b/src/locator.py index 7ec362f..7a57e09 100644 --- a/src/locator.py +++ b/src/locator.py @@ -67,8 +67,8 @@ class Locator: def _create_db(self): logging.info("Creating locator database for %s...", self._base_dir) c = self._conn.cursor() - c.execute('''CREATE TABLE cache - (name TEXT, size INTEGER, meta_time INTEGER, file_dir TEXT, - access_time INTEGER), - PRIMARY KEY (name, size, meta_time)''') + c.execute('''CREATE TABLE cache( + name TEXT, size INTEGER, meta_time INTEGER, file_dir TEXT, + access_time INTEGER, + PRIMARY KEY (name, size, meta_time))''') self._conn.commit()