Merge pull request #5 from matangover/master

Python 2 compatibility
This commit is contained in:
Sergey Petrov
2016-04-03 17:13:08 +04:00
2 changed files with 2 additions and 2 deletions
+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
+1 -1
View File
@@ -14,7 +14,7 @@ setup(
name='apns2', name='apns2',
version='0.1.0', version='0.1.0',
packages=['apns2'], packages=['apns2'],
requires=dependencies, install_requires=dependencies,
url='https://github.com/Pr0Ger/PyAPNs2', url='https://github.com/Pr0Ger/PyAPNs2',
license='MIT', license='MIT',
author='Sergey Petrov', author='Sergey Petrov',