time bug fix

This commit is contained in:
Rich Ferguson
2020-05-14 16:16:12 -04:00
parent 1ccce8b190
commit 24f57a2e60

View File

@@ -355,7 +355,7 @@ class arNet(arElement, threading.Thread):
self.txCB(self.buildPacket()) self.txCB(self.buildPacket())
while not self._stopped.wait(wt): while not self._stopped.wait(wt):
self.arPrint("Delay complete at %s" % arGetLocalTime()) self.arPrint("Delay complete at %s" % self.arGetLocalTime())
wt = self.calcWaitTime() wt = self.calcWaitTime()
if not self._stopped.is_set() and self.objmode > 0: if not self._stopped.is_set() and self.objmode > 0:
self.txCB(self.buildPacket()) self.txCB(self.buildPacket())