Update run_server.py

fix signal call in auth
pull/109/head
Huang Chengwei 2016-03-01 17:09:27 +08:00
parent 1437140f87
commit bce3def4c6
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ def require_auth(role='user'):
request.user = user
if role == 'admin':
if user.role in ['SU', 'GA']:
request_finished.send_robust(func)
return func(request, *args, **kwargs)
logger.debug('Websocket: user [ %s ] is not admin.' % user.username)
else: