From a61e09b075215f450428629f5b525e9f3eaac476 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 10 Aug 2023 19:11:59 +0100 Subject: [PATCH] avoid using key word as variable name --- vban_cmd/vban.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vban_cmd/vban.py b/vban_cmd/vban.py index 2112931..d97c5ee 100644 --- a/vban_cmd/vban.py +++ b/vban_cmd/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)