Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Fix error when attempting to send a frame. #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix error when attempting to send a frame. #24

wants to merge 1 commit into from

Conversation

budude2
Copy link

@budude2 budude2 commented Nov 22, 2017

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)

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

raceback (most recent call last):
  File "<stdin>", line 1, in <module>
  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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant