aboutsummaryrefslogtreecommitdiffstats
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorSakura-Luna <53183413+Sakura-Luna@users.noreply.github.com>2023-05-04 06:08:20 +0000
committerSakura-Luna <53183413+Sakura-Luna@users.noreply.github.com>2023-05-04 06:08:20 +0000
commit29e13867bff5a00388e5eb1dd04c16c6e8f33e4f (patch)
tree7028779af2a20aeec483b9eb152c373270982e11 /modules/img2img.py
parenteff00413ae76e01b9a24b13dee6a0dda98f643f2 (diff)
downloadstable-diffusion-webui-gfx803-29e13867bff5a00388e5eb1dd04c16c6e8f33e4f.tar.gz
stable-diffusion-webui-gfx803-29e13867bff5a00388e5eb1dd04c16c6e8f33e4f.tar.bz2
stable-diffusion-webui-gfx803-29e13867bff5a00388e5eb1dd04c16c6e8f33e4f.zip
Revert "Refresh bug fix"
This reverts commit eff00413ae76e01b9a24b13dee6a0dda98f643f2.
Diffstat (limited to 'modules/img2img.py')
-rw-r--r--modules/img2img.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index fea51667..6da974e4 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -181,8 +181,7 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
print(generation_info_js)
for img in processed.images:
- if hasattr(img, 'already_saved_as'):
- img.already_saved_as += f'?{int(time())}'
+ img.already_saved_as += f'?{int(time())}'
if opts.do_not_show_images:
processed.images = []