added outputpath

This commit is contained in:
Michael Murtaugh 2015-03-05 16:24:12 +01:00
parent 9209f574c5
commit 123b36494e

View File

@ -405,7 +405,7 @@ if __name__ == "__main__":
out = sys.stdout
if args.output:
out = open(args.output, "w")
out = open(os.path.join(args.outputpath, args.output), "w")
import jinja2
env = get_template_env(args.templates)