style: Remove redundant brackets

This commit is contained in:
Gavin D'souza 2021-07-30 13:09:12 +05:30
parent 42dc8a180f
commit b1c6ccffe1

View file

@ -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 = {}