We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95d757a commit ae769b0Copy full SHA for ae769b0
1 file changed
consensus_decentralization/helper.py
@@ -81,7 +81,7 @@ def get_pool_identifiers(project_name):
81
or an empty dictionary if no information is available for the project (the relevant file does not exist)
82
"""
83
try:
84
- with open(MAPPING_INFO_DIR / f'identifiers/{project_name}.json') as f:
+ with open(MAPPING_INFO_DIR / f'identifiers/{project_name}.json', encoding='utf-8') as f:
85
identifiers = json.load(f)
86
except FileNotFoundError:
87
return dict()
0 commit comments