mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2025-01-18 18:40:47 +00:00
Update strip.py
remove range check for strip int params
This commit is contained in:
parent
7272d2ad21
commit
ad1c3f9f6b
@ -42,8 +42,6 @@ class InputStrip(Channel):
|
|||||||
|
|
||||||
@limit.setter
|
@limit.setter
|
||||||
def limit(self, val: int):
|
def limit(self, val: int):
|
||||||
if val not in range(-40, 13):
|
|
||||||
raise VMCMDErrors("Expected value from -40 to 12")
|
|
||||||
self.setter("limit", val)
|
self.setter("limit", val)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -118,8 +116,6 @@ class VirtualInputStrip(InputStrip):
|
|||||||
|
|
||||||
@k.setter
|
@k.setter
|
||||||
def k(self, val: int):
|
def k(self, val: int):
|
||||||
if val not in range(5):
|
|
||||||
raise VMCMDErrors("Expected value from 0 to 4")
|
|
||||||
self.setter("karaoke", val)
|
self.setter("karaoke", val)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user