From 40afa92f51127cac6024e70e7da7449bb35dc772 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Mon, 13 May 2024 01:10:04 +0900 Subject: [PATCH] fix: invalid logic of unsecure setup --- glob/manager_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 57400d8..4994383 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -23,7 +23,7 @@ sys.path.append(glob_path) import cm_global from manager_util import * -version = [2, 32] +version = [2, 32, 1] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) @@ -1192,4 +1192,4 @@ def unzip(model_path): def is_unsecure_features_disabled(): - return get_config()['disable_unsecure_features'] + return not get_config()['disable_unsecure_features']