mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[fixes] errors caught on flake8 (#10126)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user