Use Python2-compatible syntax for super.

This commit is contained in:
Matan Gover
2016-03-27 12:06:42 +03:00
parent cf8f5aef71
commit aebdb08bdc
+1 -1
View File
@@ -45,7 +45,7 @@ class PayloadAlert(object):
class Payload(object): class Payload(object):
def __init__(self, alert=None, badge=None, sound=None, content_available=None, category=None, custom=None): def __init__(self, alert=None, badge=None, sound=None, content_available=None, category=None, custom=None):
super().__init__() super(Payload, self).__init__()
self.alert = alert self.alert = alert
self.badge = badge self.badge = badge
self.sound = sound self.sound = sound