1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-23 09:31:02 +00:00

make the linter happy

This commit is contained in:
Franzi 2022-11-07 04:27:00 +01:00
parent a4ef3f0da3
commit ac758f505e
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,5 @@
include Makefile
include *.md
recursive-include img *.png
recursive-include pretalx_broadcast_tools *.py
recursive-include pretalx_broadcast_tools/locale *

View file

@ -47,7 +47,9 @@ class BroadcastToolsEventInfoView(TemplateView):
{
"slug": self.request.event.slug,
"name": str(self.request.event.name),
"no_talk": str(self.request.event.settings.broadcast_tools_lower_thirds_no_talk_info),
"no_talk": str(
self.request.event.settings.broadcast_tools_lower_thirds_no_talk_info
),
"color": color,
},
)
@ -62,7 +64,9 @@ class BroadcastToolsScheduleView(EventPermissionRequired, ScheduleMixin, Templat
schedule=self.schedule,
)
tz = pytz.timezone(schedule.event.timezone)
infoline = str(schedule.event.settings.broadcast_tools_lower_thirds_info_string or "")
infoline = str(
schedule.event.settings.broadcast_tools_lower_thirds_info_string or ""
)
return JsonResponse(
{
"rooms": sorted(