diff options
| author | sbahling <sbahling@mudgum.net> | 2018-10-22 18:56:33 +0200 |
|---|---|---|
| committer | sbahling <sbahling@mudgum.net> | 2018-10-22 18:56:33 +0200 |
| commit | f5473c78eeffe5406f55ce120f708b3dbc57cbd4 (patch) | |
| tree | 1ef81917046eb201431ebb1db9805c2d36a01b09 | |
| parent | b8fce059b772025722f314ca5a2074a14f0e094d (diff) | |
| download | tascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.tar.gz tascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.tar.xz tascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.zip | |
fix indexing of strips list
| -rw-r--r-- | console.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -152,7 +152,7 @@ class Console(): def strip_fader_handler(self, addr, ssid, pos): print('fader_handler', addr, ssid, pos) - strip = self.strips(int(ssid)) + strip = self.strips[int(ssid)] if strip.name == ' ': return pos = pos * 1023 @@ -166,7 +166,7 @@ class Console(): print(addr, args) def strip_mute_handler(self, addr, ssid, state): - strip = self.strips(int(ssid)) + strip = self.strips[int(ssid)] print('mute_handler', strip, state) if strip.name == ' ': return @@ -176,7 +176,7 @@ class Console(): strip.mute = False def strip_solo_handler(self, addr, ssid, state): - strip = self.strips(int(ssid)) + strip = self.strips[int(ssid)] print('solo_handler', strip, state) if strip.name == ' ': return @@ -186,7 +186,7 @@ class Console(): strip.solo = False def strip_recenable_handler(self, addr, ssid, state): - strip = self.strips(int(ssid)) + strip = self.strips[int(ssid)] print('recenable_handler', strip, state) if strip.name == ' ': return |
