Remove debug calls to print()

This commit is contained in:
Thomas Rubini 2023-03-24 11:42:55 +01:00
parent d9d2b24859
commit 1862ef9274
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
3 changed files with 0 additions and 5 deletions

View File

@ -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]

View File

@ -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"}

View File

@ -34,7 +34,6 @@ def lobbyRedirect():
@routes_ui.route("/lobby/<game_id>")
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)