mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
python2.7 -> python3
This commit is contained in:
parent
e8157ae5ef
commit
35565cc66a
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ ynh_setting_set() {
|
|||
# performance reasons (it takes a few second to run every yunohost commands)
|
||||
# and to remove the need for the infamous '--need-lock' option/issue.
|
||||
|
||||
app="$1" key="$2" value="${3:-}" python2.7 - <<EOF
|
||||
app="$1" key="$2" value="${3:-}" python3 - <<EOF
|
||||
import os, yaml, sys
|
||||
app = os.environ['app']
|
||||
key, value = os.environ['key'], os.environ.get('value', None)
|
||||
|
|
Loading…
Add table
Reference in a new issue