mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
[minor] fixed globals and patch for wsgi migration
This commit is contained in:
@@ -6,8 +6,8 @@ import webnotes, os
|
||||
import utilities.demo.make_demo
|
||||
|
||||
def make_demo_app(site=None):
|
||||
webnotes.flags.mute_emails = 1
|
||||
webnotes.init(site=site)
|
||||
webnotes.flags.mute_emails = 1
|
||||
|
||||
utilities.demo.make_demo.make(reset=True, simulate=False)
|
||||
# setup demo user etc so that the site it up faster, while the data loads
|
||||
|
||||
Reference in New Issue
Block a user