Skip to content

Commit

Permalink
specifying utf-8 encoding to open nb_path (isl-org#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbomidi authored and sammo2828 committed Aug 25, 2020
1 parent 15e3f7c commit cc70fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/make_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def run(self):
# Execute Jupyter notebooks
for nb_path in nb_paths:
print("[Processing notebook {}]".format(nb_path.name))
with open(nb_path) as f:
with open(nb_path, encoding="utf-8") as f:
nb = nbformat.read(f, as_version=4)

# https://github.com/spatialaudio/nbsphinx/blob/master/src/nbsphinx.py
Expand Down

0 comments on commit cc70fb9

Please sign in to comment.