Browse Source

fix: self.last_char 'string index out of range'

pull/289/head
dr.lt.data 11 months ago
parent
commit
a396fe2f5a
  1. 2
      __init__.py
  2. 2
      prestartup_script.py

2
__init__.py

@ -27,7 +27,7 @@ except:
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.")
version = [1, 23]
version = [1, 23, 1]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
print(f"### Loading: ComfyUI-Manager ({version_str})")

2
prestartup_script.py

@ -200,7 +200,7 @@ try:
else:
log_file.write(f"[{timestamp}] {message}")
log_file.flush()
self.last_char = message[-1]
self.last_char = message if message == '' else message[-1]
with std_log_lock:
if self.is_stdout:

Loading…
Cancel
Save