Skip to content

Commit a94a3ad

Browse files
committed
cwltool/cwlrdf.py: [Python3 fix] Pass str rather than bytes to write function
1 parent 845ce98 commit a94a3ad

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)