update DB
scanner fix
This commit is contained in:
@@ -457,7 +457,13 @@ def gen_json(node_info):
|
||||
git_url, title, preemptions, node_pattern = node_info[extension]
|
||||
|
||||
with open(node_list_json_path, 'r', encoding='utf-8') as f:
|
||||
node_list_json = json.load(f)
|
||||
try:
|
||||
node_list_json = json.load(f)
|
||||
except Exception as e:
|
||||
print(f"\nERROR: Invalid json format '{node_list_json_path}'")
|
||||
print("------------------------------------------------------")
|
||||
print(e)
|
||||
print("------------------------------------------------------")
|
||||
|
||||
metadata_in_url = {}
|
||||
if git_url not in data:
|
||||
|
||||
Reference in New Issue
Block a user