1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix ynh_read_manifest helper

This commit is contained in:
Josué Tille 2018-03-09 20:38:34 +01:00
parent effd760f8b
commit e994c44294

View file

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