Commit 262d9c24 by Joel Marcotte Committed by Joel Marcotte

Final commit to restore the fix

Signed-off-by: Joel Marcotte <skaner@gmail.com>
parent 6f251819
...@@ -794,7 +794,7 @@ class ChoiceField(WritableField): ...@@ -794,7 +794,7 @@ class ChoiceField(WritableField):
if value == smart_unicode(k2): if value == smart_unicode(k2):
return True return True
else: else:
if value == smart_unicode(k): if value == smart_unicode(k) or value == k:
return True return True
return False return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment