[Fixes] conf import fix

This commit is contained in:
Priya 2015-07-23 12:39:33 +05:30
parent 4e593711dc
commit 9f28c7d923

View file

@ -5,6 +5,7 @@ from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.build import html_to_js_template
from frappe import conf
class Page(Document):
def autoname(self):
@ -36,7 +37,6 @@ class Page(Document):
Writes the .txt for this page and if write_content is checked,
it will write out a .html file
"""
from frappe import conf
from frappe.core.doctype.doctype.doctype import make_module_and_roles
make_module_and_roles(self, "roles")