Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
aucampia committed Sep 21, 2021
1 parent f1de37c commit 77a09ae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rdflib/plugins/serializers/turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,15 @@ def reset(self):
def serialize(
self,
stream: BufferedIOBase,
base: Optional[str],
encoding: Optional[str],
base: Optional[str] = None,
encoding: Optional[str] = None,
spacious: Optional[bool] = None,
**args
):
self.reset()
self.stream = TextIOWrapper(stream, encoding, errors="replace", write_through=True)
self.stream = TextIOWrapper(
stream, encoding, errors="replace", write_through=True
)
# self.encoding = encoding
# if base is given here, use that, if not and a base is set for the graph use that
if base is not None:
Expand Down

0 comments on commit 77a09ae

Please sign in to comment.