mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fix typo
This commit is contained in:
@@ -91,7 +91,7 @@ def get_language_from_request(request):
|
||||
pass
|
||||
|
||||
# Priority 3: Event default
|
||||
if hassattr(request, 'event'):
|
||||
if hasattr(request, 'event'):
|
||||
lang_code = request.event.locale
|
||||
try:
|
||||
return get_supported_language_variant(lang_code)
|
||||
|
||||
Reference in New Issue
Block a user