From c2952d1a0e271f16451b1c654ef7283495e7cf29 Mon Sep 17 00:00:00 2001 From: vikibrezinova Date: Sun, 12 Nov 2023 12:00:23 +0100 Subject: [PATCH] fix pylint --- competition/permissions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/competition/permissions.py b/competition/permissions.py index be2ba974..3928c42e 100644 --- a/competition/permissions.py +++ b/competition/permissions.py @@ -73,6 +73,5 @@ def has_object_permission(self, request, view, obj): request.user.is_authenticated and EventRegistration.get_registration_by_profile_and_event( request.user.profile, obj.series.semester)) - return super().has_object_permission(request, view, obj)