Skip to content

Commit c22c762

Browse files
committed
fix draft2 compliance
1 parent e99d687 commit c22c762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _draft2toDraft3dev1(doc, loader, baseuri): # type: (Any, Loader, str) -> An
4040
impLoaded = loader.fetch(imp)
4141
r = None # type: Dict[str, Any]
4242
if isinstance(impLoaded, list):
43-
r = {"@graph": r}
43+
r = {"@graph": impLoaded}
4444
elif isinstance(impLoaded, dict):
4545
r = impLoaded
4646
else:

0 commit comments

Comments
 (0)