13306: test_with_arvbox.sh can test either python2 or python3
[arvados.git] / sdk / cwl / arvados_cwl / runner.py
index b65e2c58e180a00f6bb8bca6688498880c3d5e00..ad8e903ba65f28bec56710a3ed15915482362d72 100644 (file)
@@ -467,7 +467,7 @@ class Runner(Process):
             if "cwl.output.json" in outc:
                 with outc.open("cwl.output.json", "rb") as f:
                     if f.size() > 0:
-                        outputs = json.load(f)
+                        outputs = json.loads(f.read().decode())
             def keepify(fileobj):
                 path = fileobj["location"]
                 if not path.startswith("keep:"):