issue on the list of args being passed

This commit is contained in:
Peter Taylor 2022-05-05 15:31:55 +01:00
parent be5baca377
commit 58d10805ea

View file

@ -43,7 +43,8 @@ class Library:
f"https://{publisher}.itch.io/{title}/data.json",
headers={"Authorization": self.login},
)
self.games.append(Game(publisher, title))
j = json.loads(r.text)
self.games.append(Game(j["id"]))
def load_games(self, publisher):
"""Load all games by publisher"""