1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-04-29 15:27:17 +00:00

exporter: remove unneeded talk_end variable

This commit is contained in:
Franzi 2022-11-07 06:47:44 +01:00
parent b5f18033ba
commit 8cdb391dae
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -79,11 +79,8 @@ class PDFInfoPage(Flowable):
def draw(self):
if hasattr(self.talk, "local_start"):
talk_start = self.talk.local_start
talk_end = self.talk.local_end
else:
talk_start = self.talk.start.astimezone(self.event.tz)
talk_end = self.talk.end.astimezone(self.event.tz)
# add some information horizontally to the side of the page
self.canv.saveState()
self.canv.rotate(90)