Fixed variable naming bug
This commit is contained in:
parent
cf59b7e24b
commit
7985fe0bbc
1 changed files with 2 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ def get_multiple_boardgames(boardgame_ids: list[int]) -> list[BoardGame]:
|
|||
boardgame_id_list_commas: str = ','.join(boardgame_id_list_20)
|
||||
url : str = "https://boardgamegeek.com/xmlapi2/thing?id={}&stats=true".format(boardgame_id_list_commas)
|
||||
print(url)
|
||||
boardgame_xml_object : ET.Element = url_to_xml_object(url)
|
||||
boardgames_xml_object : ET.Element = url_to_xml_object(url)
|
||||
|
||||
for boardgame in boardgame_xml_object:
|
||||
for boardgame_xml_object in boardgames_xml_object:
|
||||
requested_boardgame = convert_xml_to_boardgame(boardgame_xml_object.find('item'))
|
||||
boardgame_list_to_return.append(requested_boardgame)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue