fixed: Don't override preview method if --preview-method is given

https://github.com/Comfy-Org/ComfyUI-Manager/issues/1887
This commit is contained in:
Dr.Lt.Data
2025-06-08 06:33:42 +09:00
parent 5c2f4f9e4b
commit a3fb847773
3 changed files with 6 additions and 3 deletions

View File

@@ -181,7 +181,10 @@ def set_preview_method(method):
core.get_config()['preview_method'] = method
set_preview_method(core.get_config()['preview_method'])
if args.preview_method == latent_preview.LatentPreviewMethod.NoPreviews:
set_preview_method(core.get_config()['preview_method'])
else:
logging.warning("[ComfyUI-Manager] Since --preview-method is set, ComfyUI-Manager's preview method feature will be ignored.")
def set_component_policy(mode):