Changed job_id to timestamp

This commit is contained in:
Eyrie
2022-09-25 14:45:20 +02:00
committed by AUTOMATIC1111
parent 4c3d4aad60
commit 1877a3767e
4 changed files with 8 additions and 11 deletions

View File

@@ -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)