From ef4e7a0ef023ae8a5046845b4f98b5b7f3d56c62 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 19 Sep 2023 10:35:38 +0900 Subject: [PATCH] fix: message bug again.. --- __init__.py | 2 +- js/comfyui-manager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 26e23b60..6f260ee5 100644 --- a/__init__.py +++ b/__init__.py @@ -55,7 +55,7 @@ sys.path.append('../..') from torchvision.datasets.utils import download_url # ensure .js -print("### Loading: ComfyUI-Manager (V0.28.4)") +print("### Loading: ComfyUI-Manager (V0.28.5)") comfy_ui_required_revision = 1240 comfy_ui_revision = "Unknown" diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 70b6c904..fdc9a5fe 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -215,7 +215,7 @@ async function fetchUpdates(update_check_checkbox) { const response = await api.fetchApi(`/customnode/fetch_updates?mode=${mode}`); - if(response.status != 200 || response.status != 201) { + if(response.status != 200 && response.status != 201) { app.ui.dialog.show('Failed to fetch updates.'); app.ui.dialog.element.style.zIndex = 9999; return false;