diff --git a/cwltool/workflow.py b/cwltool/workflow.py index 8426ca0b2..b5374565b 100644 --- a/cwltool/workflow.py +++ b/cwltool/workflow.py @@ -447,7 +447,7 @@ def __init__(self, toolpath_object, pos, **kwargs): for stepfield, toolfield in (("in", "inputs"), ("out", "outputs")): toolpath_object[toolfield] = [] for step_entry in toolpath_object[stepfield]: - if isinstance(step_entry, (Text, Text)): + if isinstance(step_entry, (str, unicode)): param = {} # type: Dict[Text, Any] inputid = step_entry else: