Merge branch 'master' of gitlab.rezometz.org:guimoz/roulette-legacy
This commit is contained in:
commit
82ca81bae2
1 changed files with 3 additions and 2 deletions
|
@ -153,8 +153,9 @@ def playable_required(f):
|
|||
@wraps(f)
|
||||
def decorated_function(*args, **kwargs):
|
||||
ip=get_ip()
|
||||
if DEBUG and ip == '172.21.3.124':
|
||||
user = get_player_from_ip(ip)
|
||||
# if DEBUG and ip == '172.21.3.124':
|
||||
|
||||
user = get_player_from_ip(ip)
|
||||
|
||||
if not user:
|
||||
return render_template('not_subscribed.html')
|
||||
|
|
Loading…
Reference in a new issue