diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-25 16:45:22 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-25 16:45:22 +0000 |
commit | ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec (patch) | |
tree | aa02e79e2cae338ae795db36ef7d3972d26264f1 /modules/images.py | |
parent | ff107845b4814402a4722941d669e72055384771 (diff) | |
parent | 1877a3767ed7502c25245c3de3449b22067db74c (diff) | |
download | stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.tar.gz stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.tar.bz2 stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'modules/images.py')
-rw-r--r-- | modules/images.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/images.py b/modules/images.py index 642cde36..ae0e6304 100644 --- a/modules/images.py +++ b/modules/images.py @@ -295,6 +295,7 @@ def apply_filename_pattern(x, p, seed, prompt): x = x.replace("[model_hash]", shared.sd_model.sd_model_hash)
x = x.replace("[date]", datetime.date.today().isoformat())
+ x = x.replace("[job_timestamp]", shared.state.job_timestamp)
if cmd_opts.hide_ui_dir_config:
x = re.sub(r'^[\\/]+|\.{2,}[\\/]+|[\\/]+\.{2,}', '', x)
|