Skip to content

Commit

Permalink
[IS-10248] also using utf-8 on upload
Browse files Browse the repository at this point in the history
  • Loading branch information
branislavjenco committed Dec 10, 2020
1 parent 869a79c commit 89ef76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sesam.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def upload(self):
for filename in files:
pipe_id = filename.replace(".json", "")
try:
with open(os.path.join(root, filename), "r") as f:
with open(os.path.join(root, filename), "r", encoding="utf-8") as f:
entities_json = json.load(f)

if entities_json is not None:
Expand Down

0 comments on commit 89ef76f

Please sign in to comment.