Browse Source

python2.7 -> python3

Alexandre Aubin 3 years ago
parent
commit
35565cc66a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conf/ynh-hotspot

+ 1 - 1
conf/ynh-hotspot

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