Skip to content

Commit

Permalink
Fixed ticket_type verification2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Jul 23, 2020
1 parent 3ef1c13 commit 8f45d8c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bot_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ def valid_token(token, tokens,sender):
h = sha256()
h.update(token.encode("utf-8"))
msg = h.hexdigest()
print(msg)
print(tokens[msg])
if msg in tokens:
if tokens[msg] == 'unused':
return True, msg
Expand Down

0 comments on commit 8f45d8c

Please sign in to comment.