Parcourir la source

python2.7 -> python3

Alexandre Aubin il y a 3 ans
Parent
commit
35565cc66a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)