Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertT93 committed May 16, 2022
1 parent 1022b07 commit 682657f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iniconfig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class IniConfig:
def __init__(self, path, data=None):
self.path = str(path) # convenience
if data is None:
f = open(self.path)
f = open(self.path, encoding='utf-8')
try:
tokens = self._parse(iter(f))
finally:
Expand Down

0 comments on commit 682657f

Please sign in to comment.