From 2d228686ade0e53e0d1203648399a82f744d6fbd Mon Sep 17 00:00:00 2001 From: SilverStrings024 Date: Tue, 13 Jul 2021 00:42:00 -0400 Subject: [PATCH] Added blank like at the end of context_providers/matomo.py for Flake8 Renamed context provider to 'consent_provider' to make more sense when adding it to your context_provider --- analytical/context_providers/matomo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analytical/context_providers/matomo.py b/analytical/context_providers/matomo.py index 9c90e7b..df1049a 100644 --- a/analytical/context_providers/matomo.py +++ b/analytical/context_providers/matomo.py @@ -1,7 +1,7 @@ import utils from django.conf import settings -def matomo_consent_provider(request): +def consent_provider(request): """ Add Mamoto consent script to the requests context. :Cases: @@ -31,4 +31,4 @@ def matomo_consent_provider(request): matomo_event="forgetConsentGiven", ) )} - return {'consent_script': ""} \ No newline at end of file + return {'consent_script': ""}