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