refactor: Fix redundant cache value set
This commit is contained in:
parent
bf3a80f05d
commit
a73be732fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue