Default _init_sql argument create=False.

This commit is contained in:
voussoir 2023-06-25 00:05:15 -07:00
parent ef668c5d3b
commit 3c505e1244

View file

@ -1150,7 +1150,7 @@ class PhotoDB(
self.COLUMNS = constants.SQL_COLUMNS self.COLUMNS = constants.SQL_COLUMNS
self.COLUMN_INDEX = constants.SQL_INDEX self.COLUMN_INDEX = constants.SQL_INDEX
def _init_sql(self, create, skip_version_check): def _init_sql(self, create=False, skip_version_check=False):
if self.ephemeral: if self.ephemeral:
existing_database = False existing_database = False
self.sql_write = self._make_sqlite_write_connection(':memory:') self.sql_write = self._make_sqlite_write_connection(':memory:')