[minor] [demo]
This commit is contained in:
parent
c6601cb32d
commit
f668f97a6f
@ -76,6 +76,9 @@ def make_demo_on_login_script():
|
|||||||
s.doc.script_type = "Server"
|
s.doc.script_type = "Server"
|
||||||
with open(os.path.join(os.path.dirname(__file__), "demo_control_panel.py"), "r") as dfile:
|
with open(os.path.join(os.path.dirname(__file__), "demo_control_panel.py"), "r") as dfile:
|
||||||
s.doc.script = dfile.read()
|
s.doc.script = dfile.read()
|
||||||
|
s.insert()
|
||||||
|
|
||||||
|
webnotes.conn.commit()
|
||||||
|
|
||||||
if __name__=="__main__":
|
if __name__=="__main__":
|
||||||
# webnotes.connect()
|
# webnotes.connect()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user