When receiving data from a websocket, it returns the payload for a ping request. Line 719 is response.py should return "None" instead of "payload".