avoid using keyword as variable name

This commit is contained in:
onyx-and-iris 2023-08-10 16:25:31 +01:00
parent 65fb8990c9
commit 4a397d8d96

View File

@ -172,8 +172,8 @@ class VbanMidiOutstream(VbanOutstream):
def _make_stream_pair(remote, kind): def _make_stream_pair(remote, kind):
num_instream, num_outstream, num_midi, num_text = kind.vban num_instream, num_outstream, num_midi, num_text = kind.vban
def _make_cls(i, dir): def _make_cls(i, direction):
match dir: match direction:
case "in": case "in":
if i < num_instream: if i < num_instream:
return VbanAudioInstream(remote, i) return VbanAudioInstream(remote, i)