[minor] [fix] [demo]
This commit is contained in:
parent
f1b6f67a98
commit
fd3addab7e
@ -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…
x
Reference in New Issue
Block a user