From ae69eb666b24df650bbc03cf0ebfc29c784059a7 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 9 Feb 2014 13:35:55 -0800 Subject: [PATCH] encode every "style" file in utf-8 --- gramps/gen/plug/docgen/stylesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/plug/docgen/stylesheet.py b/gramps/gen/plug/docgen/stylesheet.py index a6667e34d..56d2f860d 100644 --- a/gramps/gen/plug/docgen/stylesheet.py +++ b/gramps/gen/plug/docgen/stylesheet.py @@ -149,7 +149,7 @@ class StyleSheetList(object): Saves the current StyleSheet definitions to the associated file. """ xml_file = open(self.__file, "w") - xml_file.write("\n") + xml_file.write('\n') xml_file.write('\n') for name in sorted(self.map.keys()): # enable diff of archived copies