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