mirror of
https://github.com/Emersont1/itchio.git
synced 2026-03-11 08:54:39 +00:00
hotfix on downloading
This commit is contained in:
parent
9568fd01d4
commit
d15f20c8f3
1 changed files with 3 additions and 3 deletions
|
|
@ -18,9 +18,9 @@ class Game:
|
|||
self.name = self.data["title"]
|
||||
self.publisher = self.data["user"]["username"]
|
||||
self.link = self.data["url"]
|
||||
if "game_id" in self.data:
|
||||
self.id = self.data["id"]
|
||||
self.game_id = self.data["game_id"]
|
||||
if "game_id" in data:
|
||||
self.id = data["id"]
|
||||
self.game_id = data["game_id"]
|
||||
else:
|
||||
self.id = False
|
||||
self.game_id = self.data["id"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue