mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-18 02:43:00 +08:00
fix: encoding error
This commit is contained in:
parent
580599ffe8
commit
1d21359a5a
@ -14,7 +14,7 @@ import concurrent
|
|||||||
import ssl
|
import ssl
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
version = "V1.1.1"
|
version = "V1.1.2"
|
||||||
print(f"### Loading: ComfyUI-Manager ({version})")
|
print(f"### Loading: ComfyUI-Manager ({version})")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -86,6 +86,7 @@ try:
|
|||||||
class Logger:
|
class Logger:
|
||||||
def __init__(self, is_stdout):
|
def __init__(self, is_stdout):
|
||||||
self.is_stdout = is_stdout
|
self.is_stdout = is_stdout
|
||||||
|
self.encoding = "utf-8"
|
||||||
|
|
||||||
def fileno(self):
|
def fileno(self):
|
||||||
try:
|
try:
|
||||||
@ -138,10 +139,6 @@ 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…
Reference in New Issue
Block a user