PyAPNs
PyAPNs copied to clipboard
Python2.6 SSL write error
File "/var/www/apns-proxy-server/lib/python2.6/site-packages/apns.py", line 526, in send_notification_multiple
return self.write(frame.get_frame())
File "/var/www/apns-proxy-server/lib/python2.6/site-packages/apns.py", line 260, in write
return self._connection().write(string)
File "/usr/lib64/python2.6/ssl.py", line 148, in write
return self._sslobj.write(data)
TypeError: write() argument 1 must be string or read-only buffer, not bytearray
Hi
I am also getting same error.Please let me know if you found any solution for this?
Hi, someone already solved this problem?