From 89dfd75ea3b35e065740c71fcfe65d5cd546ce28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 9 Mar 2018 20:38:20 +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 2d5527e..a27aa01 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -6,7 +6,7 @@ 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