convert to timezone aware datetime objects

This commit is contained in:
Rich Ferguson
2020-05-13 19:24:02 -04:00
parent 634d0d9b0a
commit 0fa97562ea
3 changed files with 42 additions and 14 deletions

View File

@@ -52,12 +52,12 @@ ST_ESC = 3
class arTNCKiss(arElement):
def __init__(self, packet_cb):
arElement.__init__(self)
self._packet_cb = packet_cb
self._rx_state = ST_IDL
self._rx_buf = bytearray(0)
arElement.__init__(self)
# byte in, bytearray out
def recvChar(self,c):
hc = struct.unpack("B",c)[0]