Skip to content

Commit 226d92a

Browse files
author
Peter Amstutz
committed
Fix iteration
1 parent 17bfe6c commit 226d92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ def bytes2str_in_dicts(inp # type: Union[Dict[Text, Any], List[Any], Any]
180180

181181
# if input is dict, recursively call for each value
182182
if isinstance(inp, MutableMapping):
183-
for k, val in dict.items(inp):
184-
inp[k] = bytes2str_in_dicts(val)
183+
for k in inp:
184+
inp[k] = bytes2str_in_dicts(inp[k])
185185
return inp
186186

187187
# if list, iterate through list and fn call

0 commit comments

Comments
 (0)