Skip to content

Commit b97c3b6

Browse files
committed
Code style
1 parent 29d5df6 commit b97c3b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pretalx/cfp/flow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from django.http import HttpResponseNotAllowed
1616
from django.shortcuts import redirect
1717
from django.urls import reverse
18-
from django.utils.functional import cached_property, Promise
18+
from django.utils.functional import Promise, cached_property
1919
from django.utils.translation import gettext
2020
from django.utils.translation import gettext_lazy as _
2121
from django.views.generic.base import TemplateResponseMixin

src/pretalx/common/views/cache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def get_requested_etag(request):
1515
"""Return the ETag requested by the client, or None if not found."""
1616
if if_none_match := request.headers.get("If-None-Match"):
17-
return if_none_match.strip('""')
17+
return if_none_match.strip('"')
1818

1919

2020
def get_etag(response):

0 commit comments

Comments
 (0)