diff options
Diffstat (limited to 'resources/tools/presentation/generator_report.py')
-rw-r--r-- | resources/tools/presentation/generator_report.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index f2bf8a1cb2..0712b78ef0 100644 --- a/resources/tools/presentation/generator_report.py +++ b/resources/tools/presentation/generator_report.py @@ -158,11 +158,11 @@ def generate_html_report(release, spec, report_version): build_dir=spec.environment[u"paths"][u"DIR[BUILD,HTML]"]) execute_command(cmd) - with open(spec.environment[u"paths"][u"DIR[CSS_PATCH_FILE]"], u"w") as \ + with open(spec.environment[u"paths"][u"DIR[CSS_PATCH_FILE]"], u"wt") as \ css_file: css_file.write(THEME_OVERRIDES) - with open(spec.environment[u"paths"][u"DIR[CSS_PATCH_FILE2]"], u"w") as \ + with open(spec.environment[u"paths"][u"DIR[CSS_PATCH_FILE2]"], u"wt") as \ css_file: css_file.write(THEME_OVERRIDES) |