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