Merge pull request #3723 from stysmmaker/patch/image-save-callback

Correct before image saved callback
This commit is contained in:
AUTOMATIC1111 2022-11-01 14:59:10 +03:00 committed by GitHub
commit d79b93084c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ def ui_settings_callback():
def before_image_saved_callback(params: ImageSaveParams):
for c in callbacks_image_saved:
for c in callbacks_before_image_saved:
try:
c.callback(params)
except Exception: