fixed: Even if --enable-manager is applied, it should switch to a disabled state if comfyui_manager is not installed.

This commit is contained in:
Dr.Lt.Data 2025-09-19 07:38:10 +09:00
parent e7ff647d02
commit 036aa3efa8

View File

@ -26,6 +26,7 @@ setup_logger(log_level=args.verbose, use_stdout=args.log_stdout)
def handle_comfyui_manager_unavailable(): def handle_comfyui_manager_unavailable():
logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n") logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n")
args.enable_manager = False
if args.enable_manager: if args.enable_manager: