Skip to content

rfkill_unblock attempts to write bytes type to file opened with 'w' flag #36

@gfudge

Description

@gfudge

rfkill_unblock misses a conversion to str type returned from rfkill_event (returns struct.pack()) which is bytes in python3.

Recommend implementing the check in rfkill_block rather than write to file using 'wb' flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions