Merge branch 'wsgi' of github.com:webnotes/erpnext into wsgi
This commit is contained in:
commit
9dda0fb63b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user