Browse Source

fix: is_unsecure_features_disabled invalid negation

https://github.com/ltdrdata/ComfyUI-Manager/issues/672
pull/676/head
Dr.Lt.Data 6 months ago
parent
commit
f03a22e8e4
  1. 4
      glob/manager_core.py

4
glob/manager_core.py

@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global import cm_global
from manager_util import * from manager_util import *
version = [2, 32, 1] version = [2, 32, 2]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') 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__), '..')) 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(): def is_unsecure_features_disabled():
return not get_config()['disable_unsecure_features'] return get_config()['disable_unsecure_features']

Loading…
Cancel
Save