Skip to content

Commit

Permalink
Fix sample code in README
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwhitaker committed Jul 22, 2010
1 parent 5d8017b commit d58f082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A Python library for interacting with the Apple Push Notification service (APNs)
payload = {'aps': {alert': {'body': 'Hello world!'}}} payload = {'aps': {alert': {'body': 'Hello world!'}}}


gateway_server = apns.gateway_server() 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 # Get feedback messages
feedback_server = apns.feedback_server() feedback_server = apns.feedback_server()
Expand Down

0 comments on commit d58f082

Please sign in to comment.