fixing sleep error
All checks were successful
/ Plan (push) Successful in 5m16s
/ Plan (pull_request) Successful in 9s
/ Deploy (pull_request) Successful in 47s

This commit is contained in:
Dan Hamik 2025-03-19 01:21:05 -05:00
parent 2faccdade3
commit aab45796ae

View File

@ -26,7 +26,7 @@ while(True):
response = sp.getstatusoutput(f"ping -c 1 {ip}")
print(response)
if(response[0]!=0):
time=2000
myresp=2000
else:
myresp = response[1].split("\n")[1].split(' ')[6].split('=')[1]