From a7ea86d5b392537cb1ef35ae51c31f4a343d04a0 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 14 Feb 2014 14:10:20 +0530 Subject: [PATCH] import fix --- webnotes/website/website_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):