diff --git a/voussoirkit/worms.py b/voussoirkit/worms.py index 591f1f0..ba1122f 100644 --- a/voussoirkit/worms.py +++ b/voussoirkit/worms.py @@ -266,8 +266,7 @@ class Database(metaclass=abc.ABCMeta): Return the set of all table names in the database. ''' query = 'SELECT name FROM sqlite_master WHERE type = "table"' - table_rows = self.select(query) - tables = set(name for (name,) in table_rows) + tables = set(self.select_column(query)) return tables def insert(self, table, data) -> None: