mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-21 10:11:02 +00:00
make the linter happy
This commit is contained in:
parent
a4ef3f0da3
commit
ac758f505e
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
include Makefile
|
||||
include *.md
|
||||
recursive-include img *.png
|
||||
recursive-include pretalx_broadcast_tools *.py
|
||||
recursive-include pretalx_broadcast_tools/locale *
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue