diff --git a/webnotes/website/website_generator.py b/webnotes/website/website_generator.py index 7095a2f9e0..6bfccb91ea 100644 --- a/webnotes/website/website_generator.py +++ b/webnotes/website/website_generator.py @@ -4,12 +4,12 @@ from __future__ import unicode_literals import webnotes from webnotes.model.controller import DocListController +from webnotes.website.utils import cleanup_page_name from webnotes.website.doctype.website_sitemap.website_sitemap import add_to_sitemap, update_sitemap, remove_sitemap class WebsiteGenerator(DocListController): def autoname(self): - from webnotes.website.utils import cleanup_page_name self.doc.name = cleanup_page_name(self.get_page_title()) def set_page_name(self):