From a6f22a598fd3a6b65f0aded3032bb8af3ae4e8e6 Mon Sep 17 00:00:00 2001 From: cairo <101215230+cairoeth@users.noreply.github.com> Date: Sat, 16 Mar 2024 02:33:26 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=A8=EF=B8=8F=20print=20ticket=20invali?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paradigmctf.py/ctf_launchers/team_provider.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paradigmctf.py/ctf_launchers/team_provider.py b/paradigmctf.py/ctf_launchers/team_provider.py index ebfcd8d..b4e1fdb 100644 --- a/paradigmctf.py/ctf_launchers/team_provider.py +++ b/paradigmctf.py/ctf_launchers/team_provider.py @@ -32,9 +32,11 @@ def __init__(self, challenge_id): def get_team(self): ticket = self.__check_ticket(input("ticket? ")) if not ticket: + print("invalid ticket!") return None if ticket.challenge_id != self.__challenge_id: + print("invalid ticket!") return None return ticket.team_id