1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Fixed bug where self.offset not defined

This commit is contained in:
Ross Wilson
2016-03-05 13:03:36 +07:00
parent 2cca1fbb69
commit b15e8c59ce

View File

@@ -31,6 +31,7 @@ class TtyIn(object):
self.atEOF = True
self.cycle_count = 0
self.status = self.DEVICE_NOT_READY
self.offset = 0
log('TTYIN: DEVICE_READY_CYCLES=%d' % self.DEVICE_READY_CYCLES)