aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Mandic <mandic00@live.com>2023-01-14 11:18:05 -0500
committerGitHub <noreply@github.com>2023-01-14 11:18:05 -0500
commitfad850fc3d33e7cda2ce4b3a32ab7976c313db53 (patch)
treebbfbb0b6a19829b198fe461b7da951dc0882a579
parent69781031e7473e020b3af4461fdceb20130e56ab (diff)
add server_start to shared.state
-rw-r--r--modules/shared.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index e0ec3136..ef93637c 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -168,6 +168,7 @@ class State:
textinfo = None
time_start = None
need_restart = False
+ server_start = None
def skip(self):
self.skipped = True
@@ -241,6 +242,7 @@ class State:
state = State()
+state.server_start = time.time()
artist_db = modules.artists.ArtistsDatabase(os.path.join(script_path, 'artists.csv'))