Update client.py
hyper > common > util > to_bytestring
can not convert INT to byte
and raise ValueError("Non string type.")
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ from apns2.errors import exception_class_for_reason
|
||||
|
||||
|
||||
class NotificationPriority(Enum):
|
||||
Immediate = 10
|
||||
Delayed = 5
|
||||
Immediate = '10'
|
||||
Delayed = '5'
|
||||
|
||||
|
||||
class APNsClient(object):
|
||||
|
||||
Reference in New Issue
Block a user