Merge pull request 'fixing sleep error' (#3) from work into main

Reviewed-on: #3
This commit is contained in:
paradizelost 2025-03-19 01:23:47 -05:00
commit eaf3e68fa0

View File

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