From a3bf2e4d6e4b3cf91313966d7c41da678b9670d6 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 24 Sep 2015 16:46:39 -0700 Subject: [PATCH] 8936: Descendants-detailed report crashes --- gramps/plugins/docgen/rtfdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/docgen/rtfdoc.py b/gramps/plugins/docgen/rtfdoc.py index 908e8cb92..27c377b4e 100644 --- a/gramps/plugins/docgen/rtfdoc.py +++ b/gramps/plugins/docgen/rtfdoc.py @@ -412,7 +412,7 @@ class RTFDoc(BaseDoc,TextDoc): self.f.write('\\picwgoal%d\\pichgoal%d\n' % (act_width,act_height)) index = 1 for i in buf: - self.f.write('%02x' % ord(i)) + self.f.write('%02x' % i) if index%32==0: self.f.write('\n') index = index+1