[website] Fix install bug due to relative urls
This commit is contained in:
parent
a9d0fa04ac
commit
140dec8794
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue