Update index.py

This commit is contained in:
midoks
2018-12-13 23:17:49 +08:00
parent 2fb88be080
commit 126f2d553d
+3 -1
View File
@@ -575,7 +575,7 @@ def projectScriptEdit():
return public.getJson(data)
def projectScriptEdit():
def projectScriptDebug():
args = getArgs()
if not 'pname' in args:
return 'project name missing'
@@ -643,5 +643,7 @@ if __name__ == "__main__":
print projectScriptUnload()
elif func == 'project_script_edit':
print projectScriptEdit()
elif func == 'project_script_debug':
print projectScriptDebug()
else:
print 'fail'