Merge pull request 'fixing sleep error' (#3) from work into main
Reviewed-on: #3
This commit is contained in:
commit
eaf3e68fa0
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user