Browse Source

fix: 'version_str' is not defined

https://github.com/ltdrdata/ComfyUI-Manager/issues/589
pull/591/head
Dr.Lt.Data 7 months ago
parent
commit
63fb2c6f11
  1. 2
      glob/manager_core.py
  2. 2
      glob/manager_server.py

2
glob/manager_core.py

@ -21,7 +21,7 @@ sys.path.append(glob_path)
import cm_global
from manager_util import *
version = [2, 20, 1]
version = [2, 20, 2]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))

2
glob/manager_server.py

@ -1094,7 +1094,7 @@ async def get_notice(request):
markdown_content = match.group(1)
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
# markdown_content += f"<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;()"
markdown_content += f"<BR>Manager: {version_str}"
markdown_content += f"<BR>Manager: {core.version_str}"
try:
if core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():

Loading…
Cancel
Save