From 60ca25deee5f22160040bdadc28c4775815ab020 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 22 Aug 2014 18:18:38 -0700 Subject: [PATCH] python3 bytes-string mismatch with ICU installed --- gramps/gen/sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/sort.py b/gramps/gen/sort.py index 9ac4750d1..12d3a30d3 100644 --- a/gramps/gen/sort.py +++ b/gramps/gen/sort.py @@ -152,7 +152,7 @@ class Sort(object): date1 = Date() dsv1 = date1.get_sort_value() - return "%08d" % dsv1 + self.by_last_name_key(first_id) + return "%08d" % dsv1 + str(self.by_last_name_key(first_id)) ## def by_date(self, a_id, b_id): ## """Sort routine for comparing two events by their dates. """