From e994c44294599262ff9136e83ad50d9ba2f4b888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 9 Mar 2018 20:38:34 +0100 Subject: [PATCH] Fix ynh_read_manifest helper --- scripts/experimental_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/experimental_helper.sh b/scripts/experimental_helper.sh index 43b7df1..a124a52 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -159,7 +159,7 @@ ynh_psql_test_if_first_run() { ynh_read_manifest () { manifest="$1" key="$2" - python3 -c "import sys, json;print(json.load(open('$manifest'))['$key'])" + python3 -c "import sys, json;print(json.load(open('$manifest', encoding='utf-8'))['$key'])" } # Read the upstream version from the manifest