What steps will reproduce the problem?
1. Send a apns-python-wrapper push with badges
2. Try to send another push with either badge(0) or unbadge()
What is the expected output? What do you see instead?
Neither badge(0) nor unbadge() clear the badge. Looking at the code, line 342
shows if self.badgeValue: but that won't work when badgeValue is 0, because it
won't attach to payload. 342 should say if self.badgeValue is not None:
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by cah...@gmail.com on 1 Aug 2012 at 9:19
Original issue reported on code.google.com by
cah...@gmail.com
on 1 Aug 2012 at 9:19