mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-25 05:40:15 +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:
|
try:
|
||||||
os.makedirs(this_model_directory, exist_ok=True)
|
os.makedirs(this_model_directory, exist_ok=True)
|
||||||
os.symlink(path, destination_link)
|
os.symlink(path, destination_link)
|
||||||
except WindowsError:
|
except Exception:
|
||||||
try:
|
try:
|
||||||
os.link(path, destination_link)
|
os.link(path, destination_link)
|
||||||
except Exception as exc_info:
|
except Exception as exc_info:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user