mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
fix
This commit is contained in:
parent
fbb5cbb1f5
commit
c082bd78a7
@ -18,7 +18,8 @@ def command(request):
|
||||
name = request.GET.get("name")
|
||||
params = request.GET.get("params") or {}
|
||||
if not name: return HttpResponse("")
|
||||
try: cmd = Command.getCommand(name)
|
||||
cmd = Command.getCommand(name)
|
||||
try: response = cmd.start()
|
||||
except: return HttpResponse("")
|
||||
if not cmd: return HttpResponse("")
|
||||
json_string = json.dumps(response)
|
||||
|
Loading…
Reference in New Issue
Block a user