diff --git a/frappe/database/database.py b/frappe/database/database.py index 103538944c..3092e6c0ae 100644 --- a/frappe/database/database.py +++ b/frappe/database/database.py @@ -777,7 +777,7 @@ class Database(object): WHERE table_schema NOT IN ('pg_catalog', 'information_schema') """) tables = set(d[0] for d in table_rows) - frappe.cache().set_value('db_tables', tables) + frappe.cache().set_value('db_tables', tables) return tables def a_row_exists(self, doctype):