diff options
author | 48DESIGN <github@48design.de> | 2022-09-27 06:05:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 06:05:19 +0000 |
commit | e4145c84537b563a4b0ad7d225764f8c446479b5 (patch) | |
tree | 7a3aa1a9e22632eeb29bab969bd1cf61f8c9ca0f /modules/shared.py | |
parent | 2846ca57028cca1a9ce9cee66d2500b4ac38a9c6 (diff) | |
parent | c0b1177a3203091ca43f2d08f24dd821f1237612 (diff) | |
download | stable-diffusion-webui-gfx803-e4145c84537b563a4b0ad7d225764f8c446479b5.tar.gz stable-diffusion-webui-gfx803-e4145c84537b563a4b0ad7d225764f8c446479b5.tar.bz2 stable-diffusion-webui-gfx803-e4145c84537b563a4b0ad7d225764f8c446479b5.zip |
Merge branch 'master' into notification-sound
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index c32da110..bd030fe8 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -66,7 +66,7 @@ class State: job = ""
job_no = 0
job_count = 0
- job_timestamp = 0
+ job_timestamp = '0'
sampling_step = 0
sampling_steps = 0
current_latent = None
@@ -80,6 +80,7 @@ class State: self.job_no += 1
self.sampling_step = 0
self.current_image_sampling_step = 0
+
def get_job_timestamp(self):
return datetime.datetime.now().strftime("%Y%m%d%H%M%S")
|