use https
This commit is contained in:
parent
cffffbde1c
commit
54492489b9
4 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ Install
|
||||||
|
|
||||||
on Mac OS X download this:
|
on Mac OS X download this:
|
||||||
|
|
||||||
http://downloads.openmedialibrary.com/Open%20Media%20Library.dmg
|
https://downloads.openmedialibrary.com/Open%20Media%20Library.dmg
|
||||||
|
|
||||||
Networking
|
Networking
|
||||||
----------
|
----------
|
||||||
|
|
2
install
2
install
|
@ -33,7 +33,7 @@ def get_platform():
|
||||||
|
|
||||||
class Install(Thread):
|
class Install(Thread):
|
||||||
|
|
||||||
base_url = 'http://downloads.openmedialibrary.com/'
|
base_url = 'https://downloads.openmedialibrary.com/'
|
||||||
status = {}
|
status = {}
|
||||||
failed = False
|
failed = False
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ server_defaults = {
|
||||||
'node_address': '',
|
'node_address': '',
|
||||||
'extract_text': True,
|
'extract_text': True,
|
||||||
'localnode_discovery': True,
|
'localnode_discovery': True,
|
||||||
'release_url': 'http://downloads.openmedialibrary.com/release.json',
|
'release_url': 'https://downloads.openmedialibrary.com/release.json',
|
||||||
'pull_interval': 60000
|
'pull_interval': 60000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ def get(url, filename=None):
|
||||||
def check():
|
def check():
|
||||||
if settings.release:
|
if settings.release:
|
||||||
release_data = get(settings.server.get('release_url',
|
release_data = get(settings.server.get('release_url',
|
||||||
'http://downloads.openmedialibrary.com/release.json'))
|
'https://downloads.openmedialibrary.com/release.json'))
|
||||||
release = json.loads(release_data.decode('utf-8'))
|
release = json.loads(release_data.decode('utf-8'))
|
||||||
old = current_version('openmedialibrary')
|
old = current_version('openmedialibrary')
|
||||||
new = release['modules']['openmedialibrary']['version']
|
new = release['modules']['openmedialibrary']['version']
|
||||||
|
|
Loading…
Reference in a new issue