[fixes] errors caught on flake8 (#10126)

This commit is contained in:
Rushabh Mehta
2017-07-28 11:39:01 +05:30
committed by GitHub
parent 2653825d25
commit d50da78f28
6 changed files with 127 additions and 139 deletions

View File

@@ -6,5 +6,5 @@ import frappe
def execute():
return
country = get_country_info(country="Turkey")
add_country_and_currency("Turkey", country)
# country = get_country_info(country="Turkey")
# add_country_and_currency("Turkey", country)

View File

@@ -3,9 +3,9 @@ import frappe
def execute():
return
frappe.reload_doc('website', 'doctype', 'style_settings')
style_settings = frappe.get_doc("Style Settings", "Style Settings")
if not style_settings.apply_style:
style_settings.update(default_properties)
style_settings.apply_style = 1
style_settings.save()
# frappe.reload_doc('website', 'doctype', 'style_settings')
# style_settings = frappe.get_doc("Style Settings", "Style Settings")
# if not style_settings.apply_style:
# style_settings.update(default_properties)
# style_settings.apply_style = 1
# style_settings.save()