diff --git a/website/helpers/make_web_include_files.py b/website/helpers/make_web_include_files.py index 7ff3d6ad998..a9df23bb1c5 100644 --- a/website/helpers/make_web_include_files.py +++ b/website/helpers/make_web_include_files.py @@ -3,14 +3,14 @@ import os import webnotes -import webnotes.webutils def make(): + from startup.webutils import get_home_page if not webnotes.conn: webnotes.connect() - home_page = webnotes.webutils.get_home_page() + home_page = get_home_page() fname = 'js/wn-web.js' if os.path.basename(os.path.abspath('.'))!='public':