fix empty

This commit is contained in:
Barak Michener 2020-12-04 23:40:23 -08:00
parent 7c2a93f1fc
commit d9a80257f8

View file

@ -81,6 +81,8 @@ def exec_work(work_blob):
def decode_json_args(task):
out = []
if "args" not in task:
return []
for arg in task["args"]:
if "local" in arg and arg["local"] == webpb.Locality.REFERENCE.value:
getresp = get(b64loads(arg["reference_id"]))