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
1 changed files with 1 additions and 1 deletions

View File

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