mirror of
https://github.com/Emersont1/itchio.git
synced 2026-03-11 08:54:39 +00:00
response changes to bring it inline with style
This commit is contained in:
parent
8b998e6acd
commit
1b68b596a2
1 changed files with 4 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ class Library:
|
|||
f"https://api.itch.io/games/{game_id}",
|
||||
headers={"Authorization": self.login},
|
||||
)
|
||||
self.games.append(Game(json.loads(gsp.text)))
|
||||
k = json.loads(gsp.text)
|
||||
self.games.append(Game(k))
|
||||
|
||||
def load_games(self, publisher):
|
||||
"""Load all games by publisher"""
|
||||
|
|
@ -61,7 +62,8 @@ class Library:
|
|||
f"https://api.itch.io/games/{game_id}",
|
||||
headers={"Authorization": self.login},
|
||||
)
|
||||
self.games.append(Game(json.loads(gsp.text)))
|
||||
k = json.loads(gsp.text)
|
||||
self.games.append(Game(k))
|
||||
|
||||
def download_library(self, platform=None):
|
||||
"""Download all games in the library"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue