crustymonkey / py-bgg

A simple Board Game Geek (boardgamegeek.com) API library in Python. This mainly just handles the API calls and converts the XML to representative dict/list format
GNU General Public License v2.0
30 stars 8 forks source link

xml: getchildren() is deprecated. #3

Closed MatyiFKBT closed 2 years ago

MatyiFKBT commented 2 years ago

When I tried to run the example, I got the following error:

AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

Looks like getchildren() is deprecated.

I'll submit a PR with a quick fix.