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:
parent
1a0784b154
commit
359d277423
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user