mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 09:43:49 +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:
|
||||
setup()
|
||||
else:
|
||||
webnotes.conn.close()
|
||||
if webnotes.conn:
|
||||
webnotes.conn.close()
|
||||
|
||||
webnotes.connect(db_name=webnotes.conf.demo_db_name)
|
||||
|
||||
if simulate:
|
||||
|
||||
Reference in New Issue
Block a user