From 9135fcbb446eae12072ec2ba4ee023cbd0acc588 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 27 Jun 2016 17:13:28 +0530 Subject: [PATCH] [fix] ignore setup wizard updates --- frappe/core/doctype/page/page.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frappe/core/doctype/page/page.py b/frappe/core/doctype/page/page.py index 7a82030a01..8f39fdca7f 100644 --- a/frappe/core/doctype/page/page.py +++ b/frappe/core/doctype/page/page.py @@ -40,9 +40,12 @@ class Page(Document): # export def on_update(self): """ - Writes the .txt for this page and if write_content is checked, + Writes the .json for this page and if write_content is checked, it will write out a .html file """ + if self.flags.do_not_update_json: + return + from frappe.core.doctype.doctype.doctype import make_module_and_roles make_module_and_roles(self, "roles")