Skip to content
Snippets Groups Projects
Commit 7a0a97a8 authored by Attila Farkas's avatar Attila Farkas
Browse files

convert output to utf-8

parent 8e6d6bb0
No related branches found
No related tags found
1 merge request!1Devel
......@@ -51,7 +51,7 @@ templateLoader = jinja2.FileSystemLoader(searchpath="templates")
templateEnv = jinja2.Environment(loader=templateLoader, trim_blocks=True)
baseTemplate = templateEnv.get_template("base")
output = baseTemplate.render(devices = devices)
print (output)
print (output.encode('utf-8'))
#vagrantfile = open('Vagrantfile','w')
#vagrantfile.write(output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment