Check for empty place object
svn: r351
This commit is contained in:
parent
983376317a
commit
db3adf44e9
@ -300,7 +300,10 @@ class IndividualPage:
|
||||
continue
|
||||
name = _(event.getName())
|
||||
date = event.getDate()
|
||||
if event.getPlace():
|
||||
place = event.getPlace().get_title()
|
||||
else:
|
||||
place = ""
|
||||
description = event.getDescription()
|
||||
if date == "":
|
||||
if place == "":
|
||||
@ -346,7 +349,10 @@ class IndividualPage:
|
||||
return
|
||||
name = event.getName()
|
||||
date = event.getDate()
|
||||
if event.getPlace():
|
||||
place = event.getPlace().get_title()
|
||||
else:
|
||||
place = ""
|
||||
description = event.getDescription()
|
||||
if date == "":
|
||||
if place == "":
|
||||
|
Loading…
Reference in New Issue
Block a user