Commit ffa5b8cd authored by Helperhaps's avatar Helperhaps

python2 compatible

parent d68e2523
...@@ -95,7 +95,7 @@ class JPush(object): ...@@ -95,7 +95,7 @@ class JPush(object):
class GroupPush(JPush): class GroupPush(JPush):
def __init__(self, key, secret): def __init__(self, key, secret):
super().__init__('group-' + key, secret) JPush.__init__(self, 'group-' + key, secret)
def create_push(self): def create_push(self):
"""Create a Group Push notification.""" """Create a Group Push notification."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment