From 839c6e1c5e188b9d15d2005fc823096fe6614363 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Mon, 6 Feb 2012 20:37:52 +0000 Subject: [PATCH] Fix by_event_place_key to use correct locale method svn: r18828 --- src/Sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sort.py b/src/Sort.py index 90ef6e4ba..02482e38b 100644 --- a/src/Sort.py +++ b/src/Sort.py @@ -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. """