X-Git-Url: http://git.treefish.org/~alex/photosort.git/blobdiff_plain/5b9ec26e3f502c56d73d11cafb8b411541db89d5..797a8228d05a1080d6928721d96a53f8fc91ec06:/src/locator.py diff --git a/src/locator.py b/src/locator.py index 55142c5..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()