From ad1c3f9f6bc4ca4207ba8755fb3f4385c87a74ae Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sun, 3 Apr 2022 00:06:42 +0100 Subject: [PATCH] Update strip.py remove range check for strip int params --- vbancmd/strip.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vbancmd/strip.py b/vbancmd/strip.py index 01214c3..026fdcb 100644 --- a/vbancmd/strip.py +++ b/vbancmd/strip.py @@ -42,8 +42,6 @@ class InputStrip(Channel): @limit.setter def limit(self, val: int): - if val not in range(-40, 13): - raise VMCMDErrors("Expected value from -40 to 12") self.setter("limit", val) @property @@ -118,8 +116,6 @@ class VirtualInputStrip(InputStrip): @k.setter def k(self, val: int): - if val not in range(5): - raise VMCMDErrors("Expected value from 0 to 4") self.setter("karaoke", val)