From 3e3dd39ae401bfa2294f348d40c43a7789d90563 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 29 May 2023 09:32:12 +1000 Subject: [PATCH] fix(nodes): fix images service update() for `is_intermediate` --- invokeai/app/services/image_record_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/services/image_record_storage.py b/invokeai/app/services/image_record_storage.py index c27596afac..6907ac3952 100644 --- a/invokeai/app/services/image_record_storage.py +++ b/invokeai/app/services/image_record_storage.py @@ -253,7 +253,7 @@ class SqliteImageRecordStorage(ImageRecordStorageBase): ) # Change the image's `is_intermediate`` flag - if changes.session_id is not None: + if changes.is_intermediate is not None: self._cursor.execute( f"""--sql UPDATE images