diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-01 14:25:30 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-01 14:25:30 +0000 |
commit | 5d7d1823afab0a051a3fbbdb3213bae8051350b7 (patch) | |
tree | 1c718b1a935fe5c2cc7861e647960f12aecff124 /modules/postprocessing.py | |
parent | 1ffdedc11d49862cf0d030fb0bcc25eb0449939b (diff) | |
download | stable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.tar.gz stable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.tar.bz2 stable-diffusion-webui-gfx803-5d7d1823afab0a051a3fbbdb3213bae8051350b7.zip |
rename infotext.py again, this time to infotext_utils.py; I didn't realize infotext would be used for variable names in multiple places, which makes it awkward to import the module; also fix the bug I caused by this rename that breaks tests
Diffstat (limited to 'modules/postprocessing.py')
-rw-r--r-- | modules/postprocessing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/postprocessing.py b/modules/postprocessing.py index facea899..7850328f 100644 --- a/modules/postprocessing.py +++ b/modules/postprocessing.py @@ -2,7 +2,7 @@ import os from PIL import Image
-from modules import shared, images, devices, scripts, scripts_postprocessing, ui_common
+from modules import shared, images, devices, scripts, scripts_postprocessing, ui_common, infotext_utils
from modules.shared import opts
@@ -86,7 +86,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir, basename = ''
forced_filename = None
- infotext = ", ".join([k if k == v else f'{k}: {infotext.quote(v)}' for k, v in pp.info.items() if v is not None])
+ infotext = ", ".join([k if k == v else f'{k}: {infotext_utils.quote(v)}' for k, v in pp.info.items() if v is not None])
if opts.enable_pnginfo:
pp.image.info = existing_pnginfo
|