emergency fix

This commit is contained in:
AUTOMATIC 2022-10-12 09:32:14 +03:00
parent 7edd58d90d
commit 8aead63f1a
1 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,8 @@ def initialize():
def webui(): def webui():
initialize()
# make the program just exit at ctrl+c without waiting for anything # make the program just exit at ctrl+c without waiting for anything
def sigint_handler(sig, frame): def sigint_handler(sig, frame):
print(f'Interrupted with signal {sig} in {frame}') print(f'Interrupted with signal {sig} in {frame}')
@ -132,5 +134,4 @@ def webui():
if __name__ == "__main__": if __name__ == "__main__":
initialize()
webui() webui()