Commit ff8f324c authored by Dion Haefner's avatar Dion Haefner

open file in binary mode

parent 228e01dc
......@@ -40,7 +40,7 @@ def write(parameters,out,path_base,*args,**kwargs):
table_content = lambda p: (p.key,p.definition,p.values,p.suggestion,_sources(p,path_base))
check_path(out)
with open(out,"w") as output:
with open(out,"wb") as output:
rst_document = _format_rst(parameters, headings, widths, table_content)
output.write(rst_document.encode('utf-8'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment