niolabs / python-xbee

Python tools for working with XBee radios
MIT License
101 stars 45 forks source link

Fix error Concat str + bytes #74

Open marcelolsalgado opened 3 years ago

marcelolsalgado commented 3 years ago

This commit fix the error, when you do not insert all the arguments in the function and the default get error, because it is string and not byte. Used for the function bellow:

self.send('at', frame_id='2', command='SH')

default_value = field['default']

jamesleesaunders commented 3 years ago

Looks good to me. Ill let @mattdodge or @bp1222 cast their approval to merge.

matheuscandido commented 3 years ago

@mattdodge ir @bp1222 could you approve this PR for merge? It would really help me in my work here :)

bp1222 commented 3 years ago

Sorry @jamesleesaunders and @matheuscandido, I no longer work for niolabs and am unable to merge to this repository as well.