mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge pull request #3723 from stysmmaker/patch/image-save-callback
Correct before image saved callback
This commit is contained in:
commit
d79b93084c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user