From cbbbaa9a788c2dfb659846f2df7e217ea8637b60 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 3 Sep 2018 15:23:27 +0200 Subject: [PATCH] [fix] ascii issue --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 769670d..fc07b9e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -48,7 +48,7 @@ ynh_render_template() { local template_path=$1 local output_path=$2 # Taken from https://stackoverflow.com/a/35009576 - python2.7 -c 'import os, sys, jinja2; sys.stdout.write( + python3 -c 'import os, sys, jinja2; sys.stdout.write( jinja2.Template(sys.stdin.read() ).render(os.environ));' < $template_path > $output_path }