From 7a44378e9eb8f836834d35467ef99dd7f4d045ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 26 Dec 2023 17:28:50 +0100 Subject: [PATCH] remove prints --- src/fetch_games.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fetch_games.py b/src/fetch_games.py index b0168f4..8e3b829 100644 --- a/src/fetch_games.py +++ b/src/fetch_games.py @@ -48,7 +48,6 @@ def fetch_games_for_player(username: str, first_game_id: int, last_game_id: Opti url = "https://hanab.live/api/v1/history-full/{}?start={}".format(username, first_game_id) if last_game_id is not None: url += "&end={}".format(last_game_id) - print(url) response = session.get(url) if not response.status_code == 200: err_msg = "Failed to fetch games for username {}, requested URL {}".format(username, url) @@ -206,9 +205,6 @@ def detailed_fetch_game(game_id: int) -> bool: players = game_json["players"] games = fetch_games_for_player(players[0], game_id, game_id) - if not len(games) == 1: - print(games) - exit(1) assert len(games) == 1 game_entry = process_game_entry(games[0]) if game_entry is None: