aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-07-03 14:02:57 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-07-03 14:02:57 +0200
commit0f18e76062340a6beda2142ccaedccad09cd5193 (patch)
treea007bd96cbb76bb37def6cda5d045cc656024ad2
parent22e903f15887bff972ecd0f28c0ee485e918c3f4 (diff)
parent0200800656ff1add2df9c662ade6a52a2adb9f9a (diff)
downloadpyParrotZikTCP-0f18e76062340a6beda2142ccaedccad09cd5193.tar.xz
pyParrotZikTCP-0f18e76062340a6beda2142ccaedccad09cd5193.zip
Merge pull request #3 from esanchezm/third_boolean_state
Fixed a third value for boolean values
-rw-r--r--parrot_zik/model/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/parrot_zik/model/base.py b/parrot_zik/model/base.py
index d722788..fdacde0 100644
--- a/parrot_zik/model/base.py
+++ b/parrot_zik/model/base.py
@@ -44,6 +44,8 @@ class ParrotZikBase(object):
return True
elif result == "false":
return False
+ elif result == "invalid_on":
+ return True
else:
raise AssertionError(result)