From 1862ef9274811b4dba8872461e15898cadd6cd84 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Fri, 24 Mar 2023 11:42:55 +0100 Subject: [PATCH] Remove debug calls to print() --- truthinquiry/logic/game_logic.py | 1 - truthinquiry/routes/routes_api.py | 3 --- truthinquiry/routes/routes_ui.py | 1 - 3 files changed, 5 deletions(-) diff --git a/truthinquiry/logic/game_logic.py b/truthinquiry/logic/game_logic.py index 1e2b126..2e7bcb8 100644 --- a/truthinquiry/logic/game_logic.py +++ b/truthinquiry/logic/game_logic.py @@ -132,7 +132,6 @@ class Game: :param npc_id: the id of the npc, to get the reactions from, must be in the current game :return: the reaction image as bytes """ - print(self.reaction_table) if npc_id not in self.reaction_table: return None trait_id = self.reaction_table[npc_id] diff --git a/truthinquiry/routes/routes_api.py b/truthinquiry/routes/routes_api.py index 25ed9ee..c3728a0 100644 --- a/truthinquiry/routes/routes_api.py +++ b/truthinquiry/routes/routes_api.py @@ -35,9 +35,6 @@ def create_game(): @routes_api.route("/getGameMembers", methods=["GET", "POST"]) def get_members(): game_id = flask.request.values.get("game_id") - print(50 * "#") - print(game_id) - print(50*"_") game = game_logic.get_game(game_id) if game is None: return {"error": 1, "msg": "this game doesn't exist"} diff --git a/truthinquiry/routes/routes_ui.py b/truthinquiry/routes/routes_ui.py index a1410fe..e2ffd18 100644 --- a/truthinquiry/routes/routes_ui.py +++ b/truthinquiry/routes/routes_ui.py @@ -34,7 +34,6 @@ def lobbyRedirect(): @routes_ui.route("/lobby/") def lobby(game_id): # rendered by the javascript client-side - print(game_id) if game_id is None: return flask.redirect("") return flask.render_template("lobby.html", gameid=game_id)