mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-05-06 02:07:53 +08:00
fixed: avoid except:
fixed: prestartup_script - remove useless exception handling when fallback resolving comfy_path
This commit is contained in:
@ -94,7 +94,7 @@ def extract_nodes(code_text):
|
||||
return s
|
||||
else:
|
||||
return set()
|
||||
except:
|
||||
except Exception:
|
||||
return set()
|
||||
|
||||
|
||||
@ -396,7 +396,7 @@ def update_custom_nodes():
|
||||
|
||||
try:
|
||||
download_url(url, temp_dir)
|
||||
except:
|
||||
except Exception:
|
||||
print(f"[ERROR] Cannot download '{url}'")
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor(10) as executor:
|
||||
|
||||
Reference in New Issue
Block a user