Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.
This repository was archived by the owner on Oct 1, 2019. It is now read-only.

python 2 issues #5

@ryanteck

Description

@ryanteck

File "carTest.py", line 15, in
node.send_string_packet("Hello World")
File "/home/pi/rak811-python/iotloranode.py", line 200, in send_string_packet
self.uart_tx(command)
File "/home/pi/rak811-python/iotloranode.py", line 74, in uart_tx
self.serial_write(str.encode(command))
TypeError: descriptor 'encode' requires a 'str' object but received a 'unicode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions