Fix encoding for JSON files
This commit is contained in:
parent
0cfe47465d
commit
2905ff5c74
@ -227,7 +227,7 @@ def validate_config_sections(
|
|||||||
|
|
||||||
def query_string_from_file(
|
def query_string_from_file(
|
||||||
filename: str) -> str:
|
filename: str) -> str:
|
||||||
with open(filename, "r") as jsonfile:
|
with open(filename, "r", encoding="utf-8") as jsonfile:
|
||||||
query_string = jsonfile.read()
|
query_string = jsonfile.read()
|
||||||
return query_string
|
return query_string
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user