Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix sample code in README

  • Loading branch information...
commit d58f08270eb98c5ed3c831bda1b05875ca616800 1 parent 5d8017b
@simonwhitaker simonwhitaker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.markdown
View
2  README.markdown
@@ -13,7 +13,7 @@ A Python library for interacting with the Apple Push Notification service (APNs)
payload = {'aps': {alert': {'body': 'Hello world!'}}}
gateway_server = apns.gateway_server()
- gateway_server.send_notification(s.apns_token_hex, s.get_payload())
+ gateway_server.send_notification(token_hex, payload)
# Get feedback messages
feedback_server = apns.feedback_server()
Please sign in to comment.
Something went wrong with that request. Please try again.