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:
parent
da4153d653
commit
318e0631b7
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user