diff options
author | zsquareplusc <cliechti@gmx.net> | 2016-09-10 00:05:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-10 00:05:30 +0200 |
commit | 1eb040ee17cd82840cbbde1d6c763708e98c9adb (patch) | |
tree | 3c47539f93442038f692422b1c6b771ed356575c | |
parent | 686abf500c419f11d0a4c07ac17628efeabd5693 (diff) | |
parent | 20c1bca357a9a7c31060d4af0b87e234134761e9 (diff) | |
download | pyserial-git-1eb040ee17cd82840cbbde1d6c763708e98c9adb.tar.gz |
Merge pull request #149 from f1sty/python35-fix
Fix "TypeError: an integer is required" error from data_received.
-rw-r--r-- | serial/threaded/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/threaded/__init__.py b/serial/threaded/__init__.py index 325d4a3..d4a4ab4 100644 --- a/serial/threaded/__init__.py +++ b/serial/threaded/__init__.py @@ -105,7 +105,7 @@ class FramedPacket(Protocol): self.handle_packet(self.packet) del self.packet[:] elif self.in_packet: - self.packet.append(byte) + self.packet.extend(byte) else: self.handle_out_of_packet_data(byte) |