Skip to content

Commit

Permalink
fix: Use io.open instead of native open
Browse files Browse the repository at this point in the history
  • Loading branch information
achillesrasquinha committed Jan 4, 2019
1 parent 5f4b76c commit 57aebba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def isdef(var):
def read(path, encoding = None):
content = None

with open(path, encoding = encoding) as f:
with io.open(path, encoding = encoding) as f:
content = f.read()

return content
Expand Down

0 comments on commit 57aebba

Please sign in to comment.