fixed: invalid channel_url in get_risky_level

https://github.com/ltdrdata/ComfyUI-Manager/issues/920
This commit is contained in:
Dr.Lt.Data
2024-08-02 01:30:03 +09:00
parent d7f5f08179
commit 1ede7dfe28
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ def is_allowed_security_level(level):
async def get_risky_level(files):
json_data1 = await core.get_data_by_mode('local', 'custom-node-list.json')
json_data2 = await core.get_data_by_mode('cache', 'custom-node-list.json', channel_url='https://github.com/ltdrdata/ComfyUI-Manager/raw/main/custom-node-list.json')
json_data2 = await core.get_data_by_mode('cache', 'custom-node-list.json', channel_url='https://github.com/ltdrdata/ComfyUI-Manager/raw/main')
all_urls = set()
for x in json_data1['custom_nodes'] + json_data2['custom_nodes']: