1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-01 02:25:49 +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): def draw(self):
if hasattr(self.talk, "local_start"): if hasattr(self.talk, "local_start"):
talk_start = self.talk.local_start talk_start = self.talk.local_start
talk_end = self.talk.local_end
else: else:
talk_start = self.talk.start.astimezone(self.event.tz) 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 # add some information horizontally to the side of the page
self.canv.saveState() self.canv.saveState()
self.canv.rotate(90) self.canv.rotate(90)