1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Fix ynh_read_manifest helper

This commit is contained in:
Josué Tille 2018-03-09 20:38:20 +01:00
parent 4f54fe164c
commit 89dfd75ea3

View file

@ -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