From 413957fa59ad5f88b5bba0a3a70b3786c8cb2002 Mon Sep 17 00:00:00 2001 From: Leonid R Date: Fri, 25 Mar 2016 23:33:26 +0400 Subject: [PATCH] Update client.py according to PEP8 --- apns2/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apns2/client.py b/apns2/client.py index 7117c59..7a869e5 100644 --- a/apns2/client.py +++ b/apns2/client.py @@ -22,7 +22,7 @@ class APNsClient(object): self.__connection = HTTP20Connection(server, port, ssl_context=ssl_context) def send_notification(self, token_hex, notification, priority=NotificationPriority.Immediate, topic=None): - json_payload = dumps(notification.dict(), ensure_ascii=False, separators=(',',':')).encode('utf-8') + json_payload = dumps(notification.dict(), ensure_ascii=False, separators=(',', ':')).encode('utf-8') headers = { 'apns-priority': priority.value