aboutsummaryrefslogtreecommitdiff
path: root/parrot_zik
diff options
context:
space:
mode:
authorEsteban Sánchez <esteban.sanchez@gmail.com>2015-07-03 13:22:02 +0200
committerEsteban Sánchez <esteban.sanchez@gmail.com>2015-07-03 14:00:03 +0200
commit0200800656ff1add2df9c662ade6a52a2adb9f9a (patch)
treea007bd96cbb76bb37def6cda5d045cc656024ad2 /parrot_zik
parent22e903f15887bff972ecd0f28c0ee485e918c3f4 (diff)
downloadpyParrotZikTCP-0200800656ff1add2df9c662ade6a52a2adb9f9a.tar.xz
pyParrotZikTCP-0200800656ff1add2df9c662ade6a52a2adb9f9a.zip
Fixed _result_to_bool() assertion when a values has some strange status
Diffstat (limited to 'parrot_zik')
-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)