some improvements

This commit is contained in:
Bastian Schroll 2018-09-23 18:44:58 +02:00
parent 1837ba46af
commit 71065672a7
3 changed files with 15 additions and 1 deletions

View file

@ -61,8 +61,11 @@ except Exception as e: # pragma: no cover
from boswatch.utils.timer import RepeatedTimer
from boswatch.network.netCheck import NetCheck
net = NetCheck()
test = RepeatedTimer(10, net.checkConn)
test = RepeatedTimer(3, net.checkConn)
test.start()
time.sleep(10)
print(net.connectionState)
test.stop()
try:
header.logoToLog()