8430: Place displayer should not return None

The place displayer should return an empty string for an event
with no place.
This commit is contained in:
Nick Hall 2015-03-12 22:55:33 +00:00
parent 1a0784b154
commit 359d277423

View File

@ -55,6 +55,8 @@ class PlaceDisplay(object):
if place_handle:
place = db.get_place_from_handle(place_handle)
return self.display(db, place, event.get_date_object())
else:
return ""
def display(self, db, place, date=None):
if not place: