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

make the linter happy

This commit is contained in:
Franzi 2022-11-22 19:21:52 +01:00
parent 8dd9bec525
commit dd0f0ad4f0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 4 additions and 2 deletions

View file

@ -93,7 +93,9 @@ class PDFInfoPage(Flowable):
" | ".join( " | ".join(
[ [
self.talk.submission.code, self.talk.submission.code,
self.talk.submission.submission_type.name.localize(self.event.locale), self.talk.submission.submission_type.name.localize(
self.event.locale
),
self.event.name.localize(self.event.locale), self.event.name.localize(self.event.locale),
talk_start.isoformat(), talk_start.isoformat(),
f"Day {self.day['index']}", f"Day {self.day['index']}",

View file

@ -27,7 +27,7 @@ class BroadcastToolsOrgaView(PermissionRequired, FormView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context['localized_rooms'] = [ context["localized_rooms"] = [
room.name.localize(self.request.event.locale) room.name.localize(self.request.event.locale)
for room in self.request.event.rooms.all() for room in self.request.event.rooms.all()
] ]