mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-15 17:40:57 +00:00
upd __init__ methods
This commit is contained in:
parent
56ec9a17c0
commit
e9ef113b5c
@ -467,9 +467,6 @@ class EQ:
|
|||||||
|
|
||||||
class EQBand:
|
class EQBand:
|
||||||
def __init__(self, i, remote, index):
|
def __init__(self, i, remote, index):
|
||||||
if index is None:
|
|
||||||
super(EQ.EQBand, self).__init__(remote)
|
|
||||||
else:
|
|
||||||
super(EQ.EQBand, self).__init__(remote, index)
|
super(EQ.EQBand, self).__init__(remote, index)
|
||||||
self.i = i
|
self.i = i
|
||||||
|
|
||||||
@ -629,9 +626,7 @@ class Automix:
|
|||||||
|
|
||||||
class Send:
|
class Send:
|
||||||
def __init__(self, remote, i, index: Optional[int] = None):
|
def __init__(self, remote, i, index: Optional[int] = None):
|
||||||
self._remote = remote
|
super(Send, self).__init__(remote, index)
|
||||||
if index is not None:
|
|
||||||
self.index = index + 1
|
|
||||||
self.i = i + 1
|
self.i = i + 1
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user