Fix by_event_place_key to use correct locale method

svn: r18828
This commit is contained in:
Gary Burton 2012-02-06 20:37:52 +00:00
parent ae4cc9e3c2
commit 839c6e1c5e

View File

@ -207,7 +207,7 @@ class Sort(object):
evt_a = self.database.get_event_from_handle(a_id)
plc_a = self.database.get_place_from_handle(evt_a.get_place_handle())
plc_a_title = plc_a.title if plc_a else ""
return locale.strxfrml(plc_a_title)
return locale.strxfrm(plc_a_title)
def by_event_description(self, a_id, b_id):
"""Sort routine for comparing two events by their descriptions. """