aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorliamkerr <liamkerr@users.noreply.github.com>2022-10-02 14:02:38 +0000
committerGitHub <noreply@github.com>2022-10-02 14:02:38 +0000
commit7308aeefd9d25212398068c1a35f0b879b9ba06f (patch)
tree60f81d876522c772f85911ec4065ab3f448a8479 /modules/shared.py
parent3c6a049fc3c6b54ada3736710a7e86663ea7f3d9 (diff)
parent4e72a1aab6d1b3a8d8c09fadc81843a07c05cc18 (diff)
downloadstable-diffusion-webui-gfx803-7308aeefd9d25212398068c1a35f0b879b9ba06f.tar.gz
stable-diffusion-webui-gfx803-7308aeefd9d25212398068c1a35f0b879b9ba06f.tar.bz2
stable-diffusion-webui-gfx803-7308aeefd9d25212398068c1a35f0b879b9ba06f.zip
Merge branch 'master' into token_updates
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index ac968b2d..ac0bc480 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -78,6 +78,7 @@ class State:
current_latent = None
current_image = None
current_image_sampling_step = 0
+ textinfo = None
def interrupt(self):
self.interrupted = True
@@ -88,7 +89,7 @@ class State:
self.current_image_sampling_step = 0
def get_job_timestamp(self):
- return datetime.datetime.now().strftime("%Y%m%d%H%M%S")
+ return datetime.datetime.now().strftime("%Y%m%d%H%M%S") # shouldn't this return job_timestamp?
state = State()