From b4d4a0e9a48e2be086640ad6a4fd537e456df660 Mon Sep 17 00:00:00 2001 From: 64Core <64core@pm.me> Date: Fri, 14 Apr 2023 22:25:50 -0500 Subject: [PATCH] PR #78 address second comment --- itchiodl/game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itchiodl/game.py b/itchiodl/game.py index f82f22f..7540803 100644 --- a/itchiodl/game.py +++ b/itchiodl/game.py @@ -67,8 +67,8 @@ class Game: # This converts a null j.uploads into an empty dictionary and uses the safer .get accessor if "uploads" in j: j.update({"uploads": []}) - for uploads in j.get("uploads"): - self.downloads.append(uploads) + for uploads in j["uploads"]: + self.downloads.append(uploads) def download(self, token, platform): """Download a singular file"""