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