Fix broken Python 2 compatibility

This commit is contained in:
Sergey Petrov
2018-05-09 16:25:38 +03:00
parent b26f2e92e4
commit bd31bc3df6
+1 -1
View File
@@ -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