The while loop in wait_for_status should take a timeout and return or throw an exception after the sleep counter reaches that value, and __init__ should take a timeout param that it passes to __connect__. Otherwise I have to force-kill it every time I mistype the ip!
The
while
loop inwait_for_status
should take a timeout and return or throw an exception after the sleep counter reaches that value, and__init__
should take a timeout param that it passes to__connect__
. Otherwise I have to force-kill it every time I mistype the ip!