From 328998f7e877317379774e84f2e3a89453e3ca09 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 16 Jun 2022 17:31:24 +0100 Subject: [PATCH] Update factory.py fix bug in factorybuilder --- voicemeeterlib/factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voicemeeterlib/factory.py b/voicemeeterlib/factory.py index 83ead9a..3ca1b32 100644 --- a/voicemeeterlib/factory.py +++ b/voicemeeterlib/factory.py @@ -47,14 +47,14 @@ class FactoryBuilder: def make_strip(self) -> Self: self._factory.strip = tuple( - strip(self.kind.phys_in < i, self._factory, i) + strip(i < self.kind.phys_in, self._factory, i) for i in range(self.kind.num_strip) ) return self def make_bus(self) -> Self: self._factory.bus = tuple( - bus(self.kind.phys_out < i, self._factory, i) + bus(i < self.kind.phys_out, self._factory, i) for i in range(self.kind.num_bus) ) return self