From 4a036801c4eb4414179ecbc124636a96f7f72cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 14 May 2023 14:56:04 +0200 Subject: [PATCH] fix err msg in downloading data --- download_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_data.py b/download_data.py index bb77ba9..b1694fe 100644 --- a/download_data.py +++ b/download_data.py @@ -30,7 +30,7 @@ def detailed_export_game(game_id: int, score: Optional[int] = None, var_id: Opti assert_msg = "Invalid response format from hanab.live while exporting game id {}".format(game_id) game_json = get("export/{}".format(game_id)) - assert game_json.get('id') == game_id, "Invalid response format from hanab.live" + assert game_json.get('id') == game_id, assert_msg players = game_json.get('players', []) num_players = len(players)