mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-12 07:10:52 +08:00
Fix downloading URL files
This commit is contained in:
parent
5459cfa832
commit
baf19e8563
@ -34,6 +34,10 @@ class UrlFile:
|
||||
def filename(self) -> str:
|
||||
return PurePosixPath(self.parsed_url.pathname).name
|
||||
|
||||
@property
|
||||
def alternate_filenames(self):
|
||||
return ()
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class CivitFile:
|
||||
@ -60,7 +64,7 @@ class CivitFile:
|
||||
|
||||
@property
|
||||
def alternate_filenames(self):
|
||||
return []
|
||||
return ()
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user