Skip to content

it's asking or bytes-like object wherever there are strings. #9

@EightRice

Description

@EightRice

TypeError Traceback (most recent call last)
in
----> 1 main()

in main()
171 ircmsg = ircsock.recv(2048)
172 # remove any line breaks
--> 173 ircmsg = ircmsg.strip('\n\r')
174 # print received message to stdout (mostly for debugging).
175 print(ircmsg)

TypeError: a bytes-like object is required, not 'str'

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