added outputpath
This commit is contained in:
parent
9209f574c5
commit
123b36494e
@ -405,7 +405,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
out = sys.stdout
|
out = sys.stdout
|
||||||
if args.output:
|
if args.output:
|
||||||
out = open(args.output, "w")
|
out = open(os.path.join(args.outputpath, args.output), "w")
|
||||||
|
|
||||||
import jinja2
|
import jinja2
|
||||||
env = get_template_env(args.templates)
|
env = get_template_env(args.templates)
|
||||||
|
Loading…
Reference in New Issue
Block a user