mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
Merge branch 'wsgi' of github.com:webnotes/erpnext into wsgi
This commit is contained in:
@@ -40,7 +40,9 @@ def make(reset=False, simulate=True):
|
|||||||
if reset:
|
if reset:
|
||||||
setup()
|
setup()
|
||||||
else:
|
else:
|
||||||
webnotes.conn.close()
|
if webnotes.conn:
|
||||||
|
webnotes.conn.close()
|
||||||
|
|
||||||
webnotes.connect(db_name=webnotes.conf.demo_db_name)
|
webnotes.connect(db_name=webnotes.conf.demo_db_name)
|
||||||
|
|
||||||
if simulate:
|
if simulate:
|
||||||
|
|||||||
Reference in New Issue
Block a user