BUGFIG bot

- Doesn't leave properly
This commit is contained in:
Logan Cusano
2022-02-18 01:56:11 -05:00
parent 2d6deeb212
commit 34b8fe2c02

View File

@@ -43,6 +43,7 @@ class OP25Handler: #(threading.Thread):
while self.OP25Proc.poll() is None:
# Terminate the process every 5 seconds
if seconds_waited % 5 == 0:
print("Terminating OP25")
self.OP25Proc.terminate()
time.sleep(1)
seconds_waited += 1