More debug
This commit is contained in:
parent
fc77df4254
commit
009e853fad
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,8 @@ def get_bans(player_id):
|
||||||
|
|
||||||
def banned():
|
def banned():
|
||||||
player = get_player_from_ip(get_ip())
|
player = get_player_from_ip(get_ip())
|
||||||
|
if DEBUG:
|
||||||
|
print(player,'is banned and tries to play')
|
||||||
last_ban = sorted(get_bans(player['id']), key=lambda p: p['time'], \
|
last_ban = sorted(get_bans(player['id']), key=lambda p: p['time'], \
|
||||||
reverse=False)[-1]
|
reverse=False)[-1]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue