fix: Codacy fixes
This commit is contained in:
parent
bc7e68a6f9
commit
e60d032224
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ def get_filtered_data(ref_doctype, columns, data, user, custom_columns):
|
|||
custom_field_list = []
|
||||
|
||||
for doctype, field_list in iteritems(fields):
|
||||
values = frappe.db.sql("select name, {fields} from `tab{doctype}` "
|
||||
values = frappe.db.sql("select name, {fields} from `tab{doctype}` " #nosec
|
||||
.format(fields = ", ".join(field_list), doctype=doctype), as_dict=1)
|
||||
|
||||
custom_field_list += field_list
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue