changeset 109:ea3bc0b9a3d9

fix (again) output encoding
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 08 Jul 2014 17:51:22 +0200
parents 1faac255ae3c
children e17aae23cc1c
files blast2html.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/blast2html.py	Tue Jul 08 17:05:54 2014 +0200
+++ b/blast2html.py	Tue Jul 08 17:51:22 2014 +0200
@@ -469,7 +469,7 @@
         # args.output.writelines = fixed_writelines
 
         args.output.close()
-        args.output = io.open(args.output.name, 'w')
+        args.output = io.open(args.output.name, 'w', encoding='utf-8')
     
     templatedir, templatename = path.split(args.template.name)
     args.template.close()