| commit | 20c1bca357a9a7c31060d4af0b87e234134761e9 | [log] [tgz] |
|---|---|---|
| author | Yurii Skrynnykov <truef1s7@gmail.com> | Fri Aug 12 06:13:43 2016 +0300 |
| committer | Yurii Skrynnykov <truef1s7@gmail.com> | Fri Aug 12 06:13:43 2016 +0300 |
| tree | 99a08932924c74c152546c8e5b05611530d9ae72 | |
| parent | 1770e50b63b400d264c8dd40bf1d4e70860b3012 [diff] |
Fix "TypeError: an integer is required" error on Python 3.5.2
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 @@ 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)