@@ -4,7 +4,7 @@ import os
|
||||
def read_json_file(file_path):
|
||||
try:
|
||||
# Open file, load JSON content into python dictionary, and return it.
|
||||
with open(file_path, 'r', encoding="cp437", errors='ignore') as file:
|
||||
with open(file_path, 'r', encoding="utf8", errors='ignore') as file:
|
||||
json_data = json.load(file)
|
||||
return json_data
|
||||
except Exception as e:
|
||||
|
||||
+24488
-30779
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user