From 6f849befe06a0fdedb65bfa175537ce9c72b8065 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 5 Oct 2015 15:49:46 +0200 Subject: [PATCH] Fix countries selector on Reports use strings comparison, avoid encoded Element names --- gramps/plugins/lib/libholiday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libholiday.py b/gramps/plugins/lib/libholiday.py index 7bf3472ae..5150438fc 100644 --- a/gramps/plugins/lib/libholiday.py +++ b/gramps/plugins/lib/libholiday.py @@ -305,7 +305,7 @@ class _Xml2Obj: def start_element(self, name, attributes): 'SAX start element even handler' # Instantiate an Element object - element = _Element(name.encode(), attributes) + element = _Element(name, attributes) # Push element onto the stack and make it a child of parent if len(self.nodeStack) > 0: parent = self.nodeStack[-1]