From 580599ffe842d063811c5025a88012d6a2d15ce6 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 21 Nov 2023 11:01:12 +0900 Subject: [PATCH] fix: prestartup Logger - add encoding method --- __init__.py | 2 +- prestartup_script.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index e0c2dc1..30bab3a 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,7 @@ import concurrent import ssl from urllib.parse import urlparse -version = "V1.1" +version = "V1.1.1" print(f"### Loading: ComfyUI-Manager ({version})") diff --git a/prestartup_script.py b/prestartup_script.py index dfb924d..c3409b4 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -138,7 +138,10 @@ try: def reconfigure(self, *args, **kwargs): pass + def encoding(): + return "utf-8" + def close_log(): log_file.close()