small changes

This commit is contained in:
2024-09-03 15:02:52 +02:00
parent 61e98684b6
commit e8bd402126
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
from config import *
from subprocess import run
from threading import Thread
@@ -6,8 +7,8 @@ t2 = Thread(target=run, args=(['./.venv/bin/python3', 'main.py'],))
t1.daemon = True
t2.daemon = True
t1.start()
t2.start()
if USE_INVITE_SERVER:t2.start()
while 1:
if input() == 'q':
t1.join(0)
t2.join(0)
if USE_INVITE_SERVER:t2.join(0)