diff blast2html.py @ 109:ea3bc0b9a3d9

fix (again) output encoding
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 08 Jul 2014 17:51:22 +0200
parents ee2b105d772a
children e17aae23cc1c
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()