upd __init__ methods

This commit is contained in:
onyx-and-iris 2024-02-08 17:41:56 +00:00
parent 56ec9a17c0
commit e9ef113b5c

View File

@ -467,9 +467,6 @@ class EQ:
class EQBand:
def __init__(self, i, remote, index):
if index is None:
super(EQ.EQBand, self).__init__(remote)
else:
super(EQ.EQBand, self).__init__(remote, index)
self.i = i
@ -629,9 +626,7 @@ class Automix:
class Send:
def __init__(self, remote, i, index: Optional[int] = None):
self._remote = remote
if index is not None:
self.index = index + 1
super(Send, self).__init__(remote, index)
self.i = i + 1
@classmethod