Skip to content
Browse files

Fixed bug where Requirement objects didn't include an IntegerValue pa…

…rameter if the value was zero.
  • Loading branch information...
1 parent 0ccfda5 commit 759cf13352b0f3ceec1ea8a790913fdb18d3c4dc @sethoscope sethoscope committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/mturk/
2 boto/mturk/
@@ -55,7 +55,7 @@ def get_as_params(self):
"QualificationTypeId": self.qualification_type_id,
"Comparator": self.comparator,
- if self.comparator != 'Exists' and self.integer_value:
+ if self.comparator != 'Exists' and self.integer_value is not None:
params['IntegerValue'] = self.integer_value
if self.required_to_preview:
params['RequiredToPreview'] = "true"

0 comments on commit 759cf13

Please sign in to comment.
Something went wrong with that request. Please try again.