Skip to content

Commit

Permalink
Merge pull request #111 from stefa168/master
Browse files Browse the repository at this point in the history
Fixed errors related to Unicode characters
  • Loading branch information
nicholascar committed Feb 22, 2021
2 parents c37e3d2 + 4a49801 commit 41344f1
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 41344f1

Please sign in to comment.