removed extra quote from query

This commit is contained in:
Makarand Bauskar 2017-06-15 16:02:44 +05:30 committed by GitHub
parent 5aee7d1b70
commit a4af7cb7d3

View File

@ -5,7 +5,7 @@ from __future__ import unicode_literals
import frappe import frappe
def execute(): def execute():
doctypes = frappe.db.sql_list(""""select parent from tabDocField where fieldname = 'in_words'""") doctypes = frappe.db.sql_list("""select parent from tabDocField where fieldname = 'in_words'""")
for dt in doctypes: for dt in doctypes:
for fieldname in ("in_words", "base_in_words"): for fieldname in ("in_words", "base_in_words"):