cleanup
svn: r12938
This commit is contained in:
parent
b33a53e487
commit
ee0f901718
@ -387,7 +387,7 @@ class FormattingHelper(object):
|
|||||||
text = ""
|
text = ""
|
||||||
place = self.dbstate.db.get_place_from_handle(place_handle)
|
place = self.dbstate.db.get_place_from_handle(place_handle)
|
||||||
if place:
|
if place:
|
||||||
place_title = self.dbstate.db.get_place_from_handle(place_handle).get_title()
|
place_title = place.get_title()
|
||||||
if place_title != "":
|
if place_title != "":
|
||||||
if len(place_title) > 25:
|
if len(place_title) > 25:
|
||||||
text = place_title[:24]+"..."
|
text = place_title[:24]+"..."
|
||||||
|
Loading…
Reference in New Issue
Block a user