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:
parent
4f54fe164c
commit
89dfd75ea3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue