[website] Fix install bug due to relative urls

This commit is contained in:
Pratik Vyas 2015-04-14 11:22:32 +05:30
parent a9d0fa04ac
commit 140dec8794

View file

@ -131,7 +131,7 @@ class sync(object):
if self.verbose: print "Inserted: " + web_page.name
else:
web_page = frappe.get_doc("Web Page", {"template_path":template_path})
web_page = frappe.get_doc("Web Page", {"template_path":relative_template_path})
dirty = False
for key in ("parent_web_page", "title", "template_path", "published", "idx"):
if web_page.get(key) != locals().get(key):