mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
fix: 'version_str' is not defined
https://github.com/ltdrdata/ComfyUI-Manager/issues/589
This commit is contained in:
parent
e5a8f150e5
commit
63fb2c6f11
@ -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__), '..'))
|
||||
|
||||
@ -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> ()"
|
||||
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…
Reference in New Issue
Block a user