ampledata / aprs

Python APRS Module
https://github.com/ampledata/aprs
Other
95 stars 53 forks source link

Fix error when attempting to send a frame. #24

Open budude2 opened 6 years ago

budude2 commented 6 years ago

When attempting to send a frame using the TCP class you get the following error:

raceback (most recent call last): File "", line 1, in File "/Users/jboline/anaconda3/lib/python3.6/site-packages/aprs/classes.py", line 343, in send _frame = bytes(frame + b'\n\r') TypeError: unsupported operand type(s) for +: 'Frame' and 'bytes'

This change fixes the error. (Tested in python 3.6.2)