From b21e6a120613aa039eff7fbfce18e98e547e4a74 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 1 Jul 2020 16:19:54 -0700 Subject: [PATCH] Show data directory in DatabaseOutOfDate message, not db file. --- etiquette/photodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 1b4d382..24c5c6b 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -1583,7 +1583,7 @@ class PhotoDB( raise exceptions.DatabaseOutOfDate( existing=existing, new=constants.DATABASE_VERSION, - filepath=self.database_filepath, + filepath=self.data_directory, ) def _first_time_setup(self):