diff --git a/frappe/config/__init__.py b/frappe/config/__init__.py index caf169404d..e7f0f1a763 100644 --- a/frappe/config/__init__.py +++ b/frappe/config/__init__.py @@ -45,7 +45,7 @@ def get_all_empty_tables_by_module(): query = frappe.qb.from_(information_schema.tables).select(table_name).where(table_rows == 0) - empty_tables = {(r[0] for r in frappe.db.sql(query))} + empty_tables = {r[0] for r in frappe.db.sql(query)} results = frappe.get_all("DocType", fields=["name", "module"]) empty_tables_by_module = {}