Merge branch 'master' of gitlab.rezometz.org:guimoz/roulette-legacy

This commit is contained in:
guimoz 2017-01-28 16:07:54 +01:00
commit 82ca81bae2

View file

@ -153,7 +153,8 @@ def playable_required(f):
@wraps(f) @wraps(f)
def decorated_function(*args, **kwargs): def decorated_function(*args, **kwargs):
ip=get_ip() ip=get_ip()
if DEBUG and ip == '172.21.3.124': # if DEBUG and ip == '172.21.3.124':
user = get_player_from_ip(ip) user = get_player_from_ip(ip)
if not user: if not user: