Skip to content

Commit 91032ab

Browse files
author
Anton Khodak
committed
Fix string concatenation if prefix is none
1 parent 0866dad commit 91032ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def generate_arg(self, binding): # type: (Dict[Text,Any]) -> List[Text]
240240
if sep:
241241
args.extend([prefix, self.tostr(j)])
242242
else:
243-
args.append(prefix + self.tostr(j))
243+
args.append((prefix or "") + self.tostr(j))
244244

245245
return [a for a in args if a is not None]
246246

0 commit comments

Comments
 (0)