From 87e53f85b80dbf01d7f4ad1646bfda171505bdac Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 7 Nov 2022 18:44:21 -0800 Subject: [PATCH] Use select_column. --- utilities/database_upgrader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/database_upgrader.py b/utilities/database_upgrader.py index 2f20bb3..6c2108b 100644 --- a/utilities/database_upgrader.py +++ b/utilities/database_upgrader.py @@ -32,7 +32,7 @@ class Migrator: self.photodb = photodb query = 'SELECT name FROM sqlite_master WHERE type == "table"' - table_names = list(self.photodb.select(query)) + table_names = list(self.photodb.select_column(query)) self.tables = {name: {} for name in table_names} # The user may be adding entirely new tables derived from the data of