diff --git a/oml/update.py b/oml/update.py index 1bf7ba1..43f7e89 100644 --- a/oml/update.py +++ b/oml/update.py @@ -53,7 +53,7 @@ def get(url, filename=None): def check(): 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')) release = json.loads(release_data.decode('utf-8')) old = current_version('openmedialibrary') new = release['modules']['openmedialibrary']['version']