Support - Ensure advisors_checks-file is properly encoded (#3823)

This commit is contained in:
Bert Blommers 2021-04-01 09:02:53 +01:00 committed by GitHub
parent a7327f4d60
commit c95ab15268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,4 +19,4 @@ def load_resource(filename):
load_resource(resource_filename(__name__, "resources/file.json"))
"""
with open(filename, "r") as f:
return json.load(f)
return json.load(f, encoding="utf-8")