mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 12:37:04 +08:00
fix typo
This commit is contained in:
parent
6eb236df56
commit
5f56872761
@ -219,7 +219,7 @@ class PromptServer():
|
|||||||
if weight_type in self.weight_type2path:
|
if weight_type in self.weight_type2path:
|
||||||
target_path = self.weight_type2path[weight_type]
|
target_path = self.weight_type2path[weight_type]
|
||||||
try:
|
try:
|
||||||
with tempfile.TemporaryDirectory as temp_dir:
|
with tempfile.TemporaryDirectory() as temp_dir:
|
||||||
temp_save_path = os.path.join(temp_dir, local_file_name)
|
temp_save_path = os.path.join(temp_dir, local_file_name)
|
||||||
final_save_path = os.path.join(target_path, local_file_name)
|
final_save_path = os.path.join(target_path, local_file_name)
|
||||||
logging.info(f"Downloading file to {temp_save_path}.")
|
logging.info(f"Downloading file to {temp_save_path}.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user