Skip to content

Commit

Permalink
(fix) APNs: Missing _sent_notifications
Browse files Browse the repository at this point in the history
Define self._sent_notifications

Fixes djacobs#104
  • Loading branch information
matiboy committed Jan 23, 2015
1 parent 6879e06 commit 9cc9662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apns.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def __init__(self, use_sandbox=False, **kwargs):
self._error_response_handler_worker = None
self._response_listener = None

self._sent_notifications = collections.deque(maxlen=SENT_BUFFER_QTY)
self._sent_notifications = collections.deque(maxlen=SENT_BUFFER_QTY)

def _init_error_response_handler_worker(self):
self._send_lock = threading.RLock()
Expand Down

0 comments on commit 9cc9662

Please sign in to comment.