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
This commit is contained in:
SilverStrings024 2021-07-13 00:42:00 -04:00
parent d1d1be189a
commit 2d228686ad

View file

@ -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': ""}
return {'consent_script': ""}