From c97a2541884fd316d68b5c5c9670275f7ec072f2 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 5 Oct 2015 16:40:10 +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 ead81b92a..69696621e 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]