Fixed website sync
This commit is contained in:
parent
37775bbc2f
commit
d56e375e0a
1 changed files with 1 additions and 2 deletions
|
|
@ -50,8 +50,7 @@ def sync_generators(generators):
|
|||
frappe.flags.in_sync_website = True
|
||||
for i, g in enumerate(generators):
|
||||
doc = frappe.get_doc(g[0], g[1])
|
||||
doc.ignore_links = True
|
||||
doc.save(ignore_permissions=True)
|
||||
doc.update_sitemap()
|
||||
sys.stdout.write("\rUpdating generators {0}/{1}".format(i+1, l))
|
||||
sys.stdout.flush()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue