[fix] Use SSL/TLS to fetch app list

for christ's sake
This commit is contained in:
opi 2015-09-22 19:53:59 +02:00 committed by kload
parent b2b1fc7d80
commit 2b7b37d3e3

View file

@ -66,7 +66,7 @@ def app_fetchlist(url=None, name=None):
Keyword argument:
name -- Name of the list (default yunohost)
url -- URL of remote JSON list (default http://app.yunohost.org/list.json)
url -- URL of remote JSON list (default https://app.yunohost.org/list.json)
"""
# Create app path if not exists
@ -74,7 +74,7 @@ def app_fetchlist(url=None, name=None):
except OSError: os.makedirs(repo_path)
if url is None:
url = 'http://app.yunohost.org/list.json'
url = 'https://app.yunohost.org/list.json'
name = 'yunohost'
else:
if name is None: