|
|
@ -575,7 +575,7 @@ def projectScriptEdit(): |
|
|
|
return public.getJson(data) |
|
|
|
return public.getJson(data) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def projectScriptEdit(): |
|
|
|
def projectScriptDebug(): |
|
|
|
args = getArgs() |
|
|
|
args = getArgs() |
|
|
|
if not 'pname' in args: |
|
|
|
if not 'pname' in args: |
|
|
|
return 'project name missing' |
|
|
|
return 'project name missing' |
|
|
@ -643,5 +643,7 @@ if __name__ == "__main__": |
|
|
|
print projectScriptUnload() |
|
|
|
print projectScriptUnload() |
|
|
|
elif func == 'project_script_edit': |
|
|
|
elif func == 'project_script_edit': |
|
|
|
print projectScriptEdit() |
|
|
|
print projectScriptEdit() |
|
|
|
|
|
|
|
elif func == 'project_script_debug': |
|
|
|
|
|
|
|
print projectScriptDebug() |
|
|
|
else: |
|
|
|
else: |
|
|
|
print 'fail' |
|
|
|
print 'fail' |
|
|
|