fix empty
This commit is contained in:
parent
7c2a93f1fc
commit
d9a80257f8
1 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,8 @@ def exec_work(work_blob):
|
||||||
|
|
||||||
def decode_json_args(task):
|
def decode_json_args(task):
|
||||||
out = []
|
out = []
|
||||||
|
if "args" not in task:
|
||||||
|
return []
|
||||||
for arg in task["args"]:
|
for arg in task["args"]:
|
||||||
if "local" in arg and arg["local"] == webpb.Locality.REFERENCE.value:
|
if "local" in arg and arg["local"] == webpb.Locality.REFERENCE.value:
|
||||||
getresp = get(b64loads(arg["reference_id"]))
|
getresp = get(b64loads(arg["reference_id"]))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue