fixed: Removed -> str | None typing.

- Python versions below 3.10 do not support it.

https://github.com/ltdrdata/ComfyUI-Manager/issues/1663
This commit is contained in:
Dr.Lt.Data
2025-03-15 20:14:08 +09:00
parent 39eaa76b8a
commit 1f3274d3f5
3 changed files with 3 additions and 3 deletions

View File

@@ -273,7 +273,7 @@ import zipfile
import urllib.request
def get_model_dir(data, show_log=False) -> str | None:
def get_model_dir(data, show_log=False):
if 'download_model_base' in folder_paths.folder_names_and_paths:
models_base = folder_paths.folder_names_and_paths['download_model_base'][0][0]
else: