1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 09:25:10 +03:00

Add super() call

This commit is contained in:
beeankha 2019-05-13 11:24:37 -04:00
parent da4153d653
commit 318e0631b7

View File

@ -79,7 +79,7 @@ class ActivityStreamMiddleware(MiddlewareMixin, threading.local):
def __init__(self, get_response=None):
self.disp_uid = None
self.instance_ids = []
self.get_response = get_response
super().__init__(get_response)
def process_request(self, request):
if hasattr(request, 'user') and hasattr(request.user, 'is_authenticated') and request.user.is_authenticated():