Skip to content

Commit

Permalink
https://github.com/djacobs/PyAPNs/pull/161
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjinku committed Jun 11, 2018
1 parent d17803d commit 0555b78
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 @@ -272,7 +272,7 @@ def read(self, n=None):
def write(self, string):
if self.enhanced: # nonblocking socket
self._last_activity_time = time.time()
writeable = _wait_for_socket(self._connection(), WAIT_WRITE, WAIT_WRITE_TIMEOUT_SEC)
writeable = _wait_for_socket(self._connection(), WAIT_WRITE, WAIT_WRITE_TIMEOUT_SEC)

if writeable:
length = self._connection().sendall(string)
Expand Down

0 comments on commit 0555b78

Please sign in to comment.