Updated event header.

This commit is contained in:
Emanuel Schuetze 2011-09-04 08:39:36 +02:00
parent c34cc79a84
commit 262304d1e5

View File

@ -175,7 +175,7 @@ def firstPage(canvas, doc):
canvas.setFont('Ubuntu',10)
canvas.setFillGray(0.4)
canvas.drawString(2.75*cm, 28*cm, "%s | %s" % (event_name, event_description))
if event_date != "" and event_location != "":
if event_date and event_location:
canvas.drawString(2.75*cm, 27.6*cm, "%s, %s" % (event_date, event_location))
# time
canvas.setFont('Ubuntu',7)