forked from Mirrors/arNetSked
convert to timezone aware datetime objects
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user