Skip to content

Commit bc3d721

Browse files
committed
fix #1
1 parent 159145f commit bc3d721

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hdlcontroller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ def run(self):
255255
# the frames received queue
256256
# is full
257257
pass
258-
except FCSError:
258+
except FCSError as e:
259259
with self.send_lock:
260-
self.__send_nack(seq_no)
260+
self.__send_nack(e.args[0])
261261
except TypeError:
262262
# Generally, raised when an
263263
# HDLC frame with a bad frame

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from codecs import open
66

77
DIR = dirname(abspath(__file__))
8-
VERSION = '0.3.1'
8+
VERSION = '0.3.2'
99

1010
with open(join(DIR, 'README.rst'), encoding='utf-8') as f:
1111
long_description = f.read()
@@ -34,6 +34,6 @@
3434
],
3535
py_modules = ['hdlcontroller'],
3636
scripts = ['hdlcontroller.py'],
37-
install_requires = ['python4yahdlc>=1.0.2', 'pyserial'],
37+
install_requires = ['python4yahdlc>=1.1.0', 'pyserial'],
3838
test_suite = 'test',
3939
)

0 commit comments

Comments
 (0)