Show data directory in DatabaseOutOfDate message, not db file.

This commit is contained in:
voussoir 2020-07-01 16:19:54 -07:00
parent 0cb41f09cf
commit b21e6a1206

View file

@ -1583,7 +1583,7 @@ class PhotoDB(
raise exceptions.DatabaseOutOfDate( raise exceptions.DatabaseOutOfDate(
existing=existing, existing=existing,
new=constants.DATABASE_VERSION, new=constants.DATABASE_VERSION,
filepath=self.database_filepath, filepath=self.data_directory,
) )
def _first_time_setup(self): def _first_time_setup(self):