From 4a397d8d966b9a1586dc3b7e25dc23913756515a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 10 Aug 2023 16:25:31 +0100 Subject: [PATCH] avoid using keyword as variable name --- voicemeeterlib/vban.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voicemeeterlib/vban.py b/voicemeeterlib/vban.py index 6211c8a..f3dece2 100644 --- a/voicemeeterlib/vban.py +++ b/voicemeeterlib/vban.py @@ -172,8 +172,8 @@ class VbanMidiOutstream(VbanOutstream): def _make_stream_pair(remote, kind): num_instream, num_outstream, num_midi, num_text = kind.vban - def _make_cls(i, dir): - match dir: + def _make_cls(i, direction): + match direction: case "in": if i < num_instream: return VbanAudioInstream(remote, i)