mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
Fix pylint error
This commit is contained in:
parent
d9ba795385
commit
c6186bd97e
@ -133,7 +133,7 @@ def get_or_download(folder_name: str, filename: str, known_files: Optional[List[
|
||||
try:
|
||||
os.makedirs(this_model_directory, exist_ok=True)
|
||||
os.symlink(path, destination_link)
|
||||
except WindowsError:
|
||||
except Exception:
|
||||
try:
|
||||
os.link(path, destination_link)
|
||||
except Exception as exc_info:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user