Merge branch 'wsgi' of github.com:webnotes/erpnext into wsgi

This commit is contained in:
Rushabh Mehta 2013-10-03 18:13:40 +05:30
commit 9dda0fb63b

View File

@ -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: