1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Gently stop everything

This commit is contained in:
Steffo 2018-07-31 18:38:42 +02:00
parent 07e2c1fedd
commit 4f2060a220

View file

@ -28,4 +28,6 @@ if __name__ == "__main__":
except KeyboardInterrupt:
if platform.system() == "Linux":
os.system("reset")
print("Stopping...")
discord_telegram_pipe[0].send("stop")
time.sleep(30)