fixed: apply ConfigParser(strict=False) to other callsites

https://github.com/ltdrdata/ComfyUI-Manager/pull/1561
This commit is contained in:
Dr.Lt.Data
2025-02-19 22:07:47 +09:00
parent df3cdfccb0
commit cee4fdcbb0
4 changed files with 8 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ def read_config():
global default_conf
try:
import configparser
config = configparser.ConfigParser()
config = configparser.ConfigParser(strict=False)
config.read(manager_config_path)
default_conf = config['default']
except Exception:
@@ -787,7 +787,7 @@ if script_executed:
def check_windows_event_loop_policy():
try:
import configparser
config = configparser.ConfigParser()
config = configparser.ConfigParser(strict=False)
config.read(manager_config_path)
default_conf = config['default']