Francesco149 / push_receiver

subscribe to GCM/FCM and receive notifications in python 2/3
The Unlicense
16 stars 13 forks source link

Won't register #1

Closed franz101 closed 3 years ago

franz101 commented 3 years ago

retries) 194 req = Request(url=FCM_SUBSCRIBE, data=data.encode("utf-8")) 195 resp_data = __do_request(req, retries) --> 196 return {"keys": keys, "fcm": json.loads(resp_data.decode("utf-8"))} 197 198

AttributeError: 'NoneType' object has no attribute 'decode'