From bd31bc3df64247bd273cfc4f3dc3934fffe5cc13 Mon Sep 17 00:00:00 2001 From: Sergey Petrov Date: Wed, 9 May 2018 16:25:38 +0300 Subject: [PATCH] Fix broken Python 2 compatibility --- apns2/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apns2/errors.py b/apns2/errors.py index c1e7034..d86b59c 100644 --- a/apns2/errors.py +++ b/apns2/errors.py @@ -129,7 +129,7 @@ class Unregistered(APNsException): """The device token is inactive for the specified topic.""" def __init__(self, timestamp=None): - super().__init__() + super(Unregistered, self).__init__() self.timestamp = timestamp