Default _init_sql argument create=False.
This commit is contained in:
parent
ef668c5d3b
commit
3c505e1244
1 changed files with 1 additions and 1 deletions
|
@ -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:')
|
||||||
|
|
Loading…
Reference in a new issue