Skip to content

Commit 83b5566

Browse files
committed
cwltool/cwlrdf.py: Pass str rather than bytes to write function
Fix output of function in Python 3 runtime
1 parent 781ace4 commit 83b5566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/cwlrdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def visitor(t):
2222

2323
def printrdf(wf, ctx, sr, stdout):
2424
# type: (Process, ContextType, Text, IO[Any]) -> None
25-
stdout.write(gather(wf, ctx).serialize(format=sr))
25+
stdout.write(gather(wf, ctx).serialize(format=sr).decode('utf-8'))
2626

2727

2828
def lastpart(uri): # type: (Any) -> Text

0 commit comments

Comments
 (0)