From 16013c343e04d3724ce38167957cc58ebe3b3a9e Mon Sep 17 00:00:00 2001 From: shawnington <88048838+shawnington@users.noreply.github.com> Date: Mon, 13 May 2024 10:38:35 -0700 Subject: [PATCH] fixed typo in expression --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 52d026b4..37df6009 100644 --- a/server.py +++ b/server.py @@ -206,7 +206,7 @@ class PromptServer(): i += 1 if not image_is_duplicate: - if image_save_function is not None and + if image_save_function is not None: image_save_function(image, post, filepath) else: with open(filepath, "wb") as f: