1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Tweak UPDATE_REPO_URL to convey the full URL

This commit is contained in:
Jeremy Stretch
2020-03-13 12:14:27 -04:00
parent e2123f4a9e
commit 2033d15b2f
3 changed files with 27 additions and 27 deletions

View File

@ -12,7 +12,7 @@ logger = logging.getLogger('netbox.releases')
@job
def get_releases(pre_releases=False):
url = '{}/releases'.format(settings.UPDATE_REPO_URL)
url = settings.UPDATE_REPO_URL
headers = {
'Accept': 'application/vnd.github.v3+json',
}