Skip to content

Commit

Permalink
changed default loading to uft-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Jan 22, 2020
1 parent 7db9f3c commit ccbd20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popolo_data/importer.py
Expand Up @@ -18,7 +18,7 @@ class Popolo(object):

@classmethod
def from_filename(cls, filename):
with open(filename) as f:
with open(filename, encoding="utf-8") as f:
return cls(json.load(f))

@classmethod
Expand Down

0 comments on commit ccbd20d

Please sign in to comment.