Skip to content

Commit

Permalink
Merge pull request #1987 from babsey/help-encode
Browse files Browse the repository at this point in the history
Fix encode error of help text.
  • Loading branch information
heplesser authored Mar 22, 2021
2 parents 0cbde21 + 62dfc57 commit 43860f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynest/nest/lib/hl_api_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def load_help(obj):
"""

help_fname = get_help_fname(obj)
with open(help_fname, 'r') as help_file:
with open(help_fname, 'r', encoding='utf-8') as help_file:
help_text = help_file.read()
return help_text

Expand Down

0 comments on commit 43860f3

Please sign in to comment.