From 67b5308f6f0671dcdd4dec907a02ed84c21ed8c3 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 9 Feb 2014 13:33:39 -0800 Subject: [PATCH] encode every "style" file in utf-8 --- src/gen/plug/docgen/stylesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/plug/docgen/stylesheet.py b/src/gen/plug/docgen/stylesheet.py index 99afb86aa..4e99f76bc 100644 --- a/src/gen/plug/docgen/stylesheet.py +++ b/src/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, sheet in self.map.iteritems():