Merge branch 'develop' into broadcast

This commit is contained in:
Bastian Schroll 2018-09-25 19:06:56 +02:00 committed by GitHub
commit bbf71a34a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 288 additions and 8 deletions

View file

@ -71,6 +71,16 @@ print(server.isRunning)
time.sleep(2)
print(server.isRunning)
# test for the timer class
from boswatch.utils.timer import RepeatedTimer
from boswatch.network.netCheck import NetCheck
net = NetCheck()
test = RepeatedTimer(3, net.checkConn)
test.start()
time.sleep(10)
print(net.connectionState)
test.stop()
try:
header.logoToLog()
header.infoToLog()
@ -125,7 +135,7 @@ try:
#
# t1 = threading.Timer(1, eins)
# t2 = threading.Timer(5, zwei)
# t3 = threading.Timer(15, drei)
# t3 = threading.Timer(600, drei)
# t1.start()
# t2.start()
# t3.start()