From 5ae04fa6f1ce9664821e03fd1105c9c5b51507f6 Mon Sep 17 00:00:00 2001 From: josephrocca <1167575+josephrocca@users.noreply.github.com> Date: Sat, 31 May 2025 02:37:59 +0800 Subject: [PATCH] handle case where body is non-empty, but id is not provided --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index c2ff3edf4..794d8d989 100644 --- a/server.py +++ b/server.py @@ -692,6 +692,8 @@ class PromptServer(): queue_running = current_queue[0] if len(queue_running) > 0 and queue_running[0][1] == json_data["id"]: nodes.interrupt_processing() + else: + nodes.interrupt_processing() else: nodes.interrupt_processing() return web.Response(status=200)