Update manager_server.py

This commit is contained in:
dehypnotic
2026-07-20 23:45:17 +02:00
parent 8a9ce02959
commit e634489a97
+1 -3
View File
@@ -14,7 +14,6 @@ import git
import glob import glob
import json import json
from datetime import datetime from datetime import datetime
from contextlib import contextmanager
from server import PromptServer from server import PromptServer
import manager_core as core import manager_core as core
@@ -318,7 +317,6 @@ setup_environment()
from aiohttp import web from aiohttp import web
import aiohttp import aiohttp
import json
import zipfile import zipfile
import urllib.request import urllib.request
@@ -890,7 +888,7 @@ async def get_node_types_in_workflows(request):
# iterate over each node in the workflow # iterate over each node in the workflow
for node in workflow_file_data["nodes"]: for node in workflow_file_data["nodes"]:
if "id" not in node: if "id" not in node:
logging.warning(f"Found a node with no ID - possibly corrupt/invalid workflow?") logging.warning("Found a node with no ID - possibly corrupt/invalid workflow?")
continue continue
# if there's no type, throw a warning # if there's no type, throw a warning
if "type" not in node: if "type" not in node: