Browse Source

fix: prestartup Logger - add encoding method

pull/186/head
Dr.Lt.Data 1 year ago
parent
commit
580599ffe8
  1. 2
      __init__.py
  2. 3
      prestartup_script.py

2
__init__.py

@ -14,7 +14,7 @@ import concurrent
import ssl import ssl
from urllib.parse import urlparse from urllib.parse import urlparse
version = "V1.1" version = "V1.1.1"
print(f"### Loading: ComfyUI-Manager ({version})") print(f"### Loading: ComfyUI-Manager ({version})")

3
prestartup_script.py

@ -138,7 +138,10 @@ try:
def reconfigure(self, *args, **kwargs): def reconfigure(self, *args, **kwargs):
pass pass
def encoding():
return "utf-8"
def close_log(): def close_log():
log_file.close() log_file.close()

Loading…
Cancel
Save