mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-21 18:51: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 Makefile
|
||||||
|
include *.md
|
||||||
recursive-include img *.png
|
recursive-include img *.png
|
||||||
recursive-include pretalx_broadcast_tools *.py
|
recursive-include pretalx_broadcast_tools *.py
|
||||||
recursive-include pretalx_broadcast_tools/locale *
|
recursive-include pretalx_broadcast_tools/locale *
|
||||||
|
|
|
@ -47,7 +47,9 @@ class BroadcastToolsEventInfoView(TemplateView):
|
||||||
{
|
{
|
||||||
"slug": self.request.event.slug,
|
"slug": self.request.event.slug,
|
||||||
"name": str(self.request.event.name),
|
"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,
|
"color": color,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@ -62,7 +64,9 @@ class BroadcastToolsScheduleView(EventPermissionRequired, ScheduleMixin, Templat
|
||||||
schedule=self.schedule,
|
schedule=self.schedule,
|
||||||
)
|
)
|
||||||
tz = pytz.timezone(schedule.event.timezone)
|
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(
|
return JsonResponse(
|
||||||
{
|
{
|
||||||
"rooms": sorted(
|
"rooms": sorted(
|
||||||
|
|
Loading…
Reference in a new issue