Skip to content

Commit

Permalink
Fixed errors related to Unicode characters
Browse files Browse the repository at this point in the history
  • Loading branch information
stefa168 committed Feb 18, 2021
1 parent c37e3d2 commit 4a49801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylode/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def document(self, destination=None):
if destination is not None:
doc = p.generate_document()
try:
with open(destination, "w") as f:
with open(destination, "w", encoding="utf8") as f:
f.write(doc)
except Exception as e:
print(e)
Expand Down

0 comments on commit 4a49801

Please sign in to comment.