Skip to content

createMessage doesn't handle None message #16

@TimoteusRuotsalainen

Description

@TimoteusRuotsalainen

Traceback (most recent call last):
File "C:\Users\timoteus\Documents\GitHub\M2Q\m2q_midi.py", line 130, in call
remoteMessage = m2q_comm.createMessage(4, channel, note, None)
File "C:\Users\timoteus\Documents\GitHub\M2Q\m2q_comm.py", line 14, in createMessage
if note < 0 or note > 127:
TypeError: '<' not supported between instances of 'NoneType' and 'int'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions