aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-25 19:45:22 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-25 19:45:22 +0300
commitca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec (patch)
treeaa02e79e2cae338ae795db36ef7d3972d26264f1 /modules/images.py
parentff107845b4814402a4722941d669e72055384771 (diff)
parent1877a3767ed7502c25245c3de3449b22067db74c (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py1
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)