Skip to content

Commit

Permalink
#6 whoops also fix jentemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Dodt committed Sep 12, 2018
1 parent f92d46d commit 7325b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/jentemplate
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Template a file using shell environment as the data
Designed to be very, very simple for use in docker containers
"""
from __future__ import print_function

import os
import sys
Expand All @@ -13,4 +14,4 @@ from jinja2 import Template

inputFile = open(sys.argv[1], 'rb')
tpl = Template(inputFile.read())
print tpl.render(__environ__=os.environ, **os.environ)
print(tpl.render(__environ__=os.environ, **os.environ))

0 comments on commit 7325b5a

Please sign in to comment.