Skip to content

Commit 8c5b6b6

Browse files
fixed MIDIMessage type hint issue, changed line ends
1 parent fbcc5db commit 8c5b6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_midi/midi_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def __bytes__(self) -> bytes:
307307
# Returns the new object.
308308
# pylint: disable=unused-argument
309309
@classmethod
310-
def from_bytes(cls, msg_bytes: bytes) -> MIDIMessage:
310+
def from_bytes(cls, msg_bytes: bytes) -> 'MIDIMessage':
311311
"""Creates an object from the byte stream of the wire protocol
312312
representation of the MIDI message."""
313313
return cls()

0 commit comments

Comments
 (0)