jmcarp / betfair.py

A Python wrapper for the Betfair API
MIT License
103 stars 76 forks source link

Fix make_payload method (KeyError: endpoint) #49

Closed petedmarsh closed 9 years ago

petedmarsh commented 9 years ago

In 8e94168 make_payload was change to parameterise the 'method' of the payload with '{endpoint}' rather then '{0}' from **locals(). There is no 'endpoint' key in there - the correct key is 'method'. This changes that format string to expect a 'method' key.