Update run_server.py

fix signal call in auth
This commit is contained in:
Huang Chengwei 2016-03-01 17:09:27 +08:00
parent 1437140f87
commit bce3def4c6

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: