Add the timeout to the client

parent 09bbb3db
......@@ -40,4 +40,7 @@ while not sent:
print("Message sent")
while 1:
print(session.GetMessage())
try:
print(session.GetMessage(1))
except RuntimeError:
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment