mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
[webutils] [minor] [bugfix]
This commit is contained in:
@@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import webnotes
|
import webnotes
|
||||||
import webnotes.webutils
|
|
||||||
|
|
||||||
def make():
|
def make():
|
||||||
|
from startup.webutils import get_home_page
|
||||||
|
|
||||||
if not webnotes.conn:
|
if not webnotes.conn:
|
||||||
webnotes.connect()
|
webnotes.connect()
|
||||||
|
|
||||||
home_page = webnotes.webutils.get_home_page()
|
home_page = get_home_page()
|
||||||
|
|
||||||
fname = 'js/wn-web.js'
|
fname = 'js/wn-web.js'
|
||||||
if os.path.basename(os.path.abspath('.'))!='public':
|
if os.path.basename(os.path.abspath('.'))!='public':
|
||||||
|
|||||||
Reference in New Issue
Block a user