[minor] fix imports in old patches

This commit is contained in:
Rushabh Mehta
2017-04-13 13:13:52 +05:30
parent 2efe05c1ce
commit 994cef5ee3
4 changed files with 4 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
from __future__ import unicode_literals
import frappe
from frappe.www.style_settings import default_properties
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: