Skip to content

Commit f9cfe01

Browse files
authored
fix printing of rdfs under py3 (#168)
1 parent c580866 commit f9cfe01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema_salad/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def main(argsl=None): # type: (List[str]) -> int
284284

285285
# Optionally print the RDFS graph from the schema
286286
if args.print_rdfs:
287-
print(rdfs.serialize(format=args.rdf_serializer))
287+
print(rdfs.serialize(format=args.rdf_serializer).decode('utf-8'))
288288
return 0
289289

290290
if args.print_metadata and not args.document:

0 commit comments

Comments
 (0)