diff --git a/run_server.py b/run_server.py index 9fa8644a4..6c380e35f 100755 --- a/run_server.py +++ b/run_server.py @@ -70,7 +70,7 @@ def require_auth(role='user'): request.user = user if role == 'admin': if user.role in ['SU', 'GA']: - request_finished.send_robust() + request_finished.send_robust(func) return func(request, *args, **kwargs) logger.debug('Websocket: user [ %s ] is not admin.' % user.username) else: