From ef03b9e3ee126be9810f96cf2d71b5fe0c1f33a3 Mon Sep 17 00:00:00 2001 From: sbahling Date: Fri, 2 Nov 2018 20:40:53 +0100 Subject: Simplify Fader API --- tascam_fw_console/faders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tascam_fw_console/faders.py') diff --git a/tascam_fw_console/faders.py b/tascam_fw_console/faders.py index 3ee4de7..ab20eaa 100644 --- a/tascam_fw_console/faders.py +++ b/tascam_fw_console/faders.py @@ -37,9 +37,9 @@ status_bits = ((1, 16), class Fader(Button): - def __init__(self, console, strip): + def __init__(self, strip): name = 'Strip {} Fader'. format(strip.num) - super().__init__(console, name) + super().__init__(strip.console, name) self.strip = strip if self.strip.num == 0: self.addr = '/master/fader' -- cgit v1.2.3