From 0383c2e16abdc85abef9fcd37db235899bd0df12 Mon Sep 17 00:00:00 2001 From: Daniel Havlik Date: Sat, 25 Dec 2021 03:27:20 +0100 Subject: [PATCH] format code --- pretalx_broadcast_tools/forms.py | 4 ++-- pretalx_broadcast_tools/views.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pretalx_broadcast_tools/forms.py b/pretalx_broadcast_tools/forms.py index 3615287..4aa7a88 100644 --- a/pretalx_broadcast_tools/forms.py +++ b/pretalx_broadcast_tools/forms.py @@ -6,8 +6,8 @@ from i18nfield.forms import I18nFormField, I18nFormMixin, I18nTextInput class BroadcastToolsSettingsForm(I18nFormMixin, HierarkeyForm): lower_thirds_theme = ChoiceField( - choices=(('default', 'default'), ('rc3-2021', 'rc3-2021')), - label=_('Theme'), + choices=(("default", "default"), ("rc3-2021", "rc3-2021")), + label=_("Theme"), widget=RadioSelect, ) lower_thirds_no_talk_info = I18nFormField( diff --git a/pretalx_broadcast_tools/views.py b/pretalx_broadcast_tools/views.py index 3216beb..ef30ed9 100644 --- a/pretalx_broadcast_tools/views.py +++ b/pretalx_broadcast_tools/views.py @@ -12,9 +12,7 @@ from pretalx.schedule.exporters import ScheduleData from .forms import BroadcastToolsSettingsForm -THEME_CSS = { - 'default': 'frontend.css', - 'rc3-2021': 'frontend_rc3.css'} +THEME_CSS = {"default": "frontend.css", "rc3-2021": "frontend_rc3.css"} class BroadcastToolsLowerThirdsView(TemplateView):