diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-03-07 20:44:16 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-03-07 20:44:16 -0800 |
| commit | 588d6bc9734af06c1dbdb4fd687c2e55ebc6fb3d (patch) | |
| tree | 5d66ab506da0f80d65a59982bc362ee33a63974c /Pb_Api/Param/Bool.py | |
| parent | 27750cbcdc49d4a30da58ab07adda96eb642e5e7 (diff) | |
fixes
Diffstat (limited to 'Pb_Api/Param/Bool.py')
| -rw-r--r-- | Pb_Api/Param/Bool.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Pb_Api/Param/Bool.py b/Pb_Api/Param/Bool.py index e69de29..487dcc0 100644 --- a/Pb_Api/Param/Bool.py +++ b/Pb_Api/Param/Bool.py @@ -0,0 +1,6 @@ +from Pb_Api.Param.MultiSelect import Pb_Api_Param_MultiSelect +class Pb_Api_Param_Bool(Pb_Api_Param_MultiSelect): + def __init__(self, **kwargs): + super(Pb_Api_Param_Bool, self).__init__(**kwargs) + if len(this.options()) != 2: + raise ValueError |
