mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-22 04:40:49 +08:00
fix: invalid error message on Update All
This commit is contained in:
parent
92783b5c9f
commit
e45903e897
@ -56,7 +56,7 @@ sys.path.append('../..')
|
||||
from torchvision.datasets.utils import download_url
|
||||
|
||||
# ensure .js
|
||||
print("### Loading: ComfyUI-Manager (V0.30.3)")
|
||||
print("### Loading: ComfyUI-Manager (V0.30.4)")
|
||||
|
||||
comfy_ui_required_revision = 1240
|
||||
comfy_ui_revision = "Unknown"
|
||||
|
||||
@ -260,7 +260,7 @@ async function updateAll(update_check_checkbox) {
|
||||
const response1 = await api.fetchApi('/comfyui_manager/update_comfyui');
|
||||
const response2 = await api.fetchApi(`/customnode/update_all?mode=${mode}`);
|
||||
|
||||
if(response1.status != 200 || response2.status != 201) {
|
||||
if(response1.status != 200 && response2.status != 201) {
|
||||
app.ui.dialog.show('Failed to update ComfyUI or several extensions.<BR><BR>See terminal log.<BR>');
|
||||
app.ui.dialog.element.style.zIndex = 9999;
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user