mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-21 15:11:03 +00:00
make the linter happy
This commit is contained in:
parent
8dd9bec525
commit
dd0f0ad4f0
2 changed files with 4 additions and 2 deletions
|
@ -93,7 +93,9 @@ class PDFInfoPage(Flowable):
|
|||
" | ".join(
|
||||
[
|
||||
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),
|
||||
talk_start.isoformat(),
|
||||
f"Day {self.day['index']}",
|
||||
|
|
|
@ -27,7 +27,7 @@ class BroadcastToolsOrgaView(PermissionRequired, FormView):
|
|||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['localized_rooms'] = [
|
||||
context["localized_rooms"] = [
|
||||
room.name.localize(self.request.event.locale)
|
||||
for room in self.request.event.rooms.all()
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue