aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
authorEyrie <me@eyriewow.com>2022-09-25 14:45:20 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-25 17:11:07 +0300
commit1877a3767ed7502c25245c3de3449b22067db74c (patch)
tree9cdde75f1d1fd123760cf279b6346923dac102bc /modules/images.py
parent4c3d4aad60ffd701967ce1d358c37a33c941bb44 (diff)
Changed job_id to timestamp
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py
index e85c71d5..ae0e6304 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -295,7 +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_id]", shared.state.job_id)
+ x = x.replace("[job_timestamp]", shared.state.job_timestamp)
if cmd_opts.hide_ui_dir_config:
x = re.sub(r'^[\\/]+|\.{2,}[\\/]+|[\\/]+\.{2,}', '', x)