mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Merge branch 'fix_var' into 'master'
Fix variable in exception See merge request fdroid/fdroidserver!1170
This commit is contained in:
commit
abd9faf275
@ -55,7 +55,7 @@ def check_http(app):
|
||||
if urlver != '.':
|
||||
parsed = urllib.parse.urlparse(urlver)
|
||||
if not parsed.netloc or not parsed.scheme or parsed.scheme != 'https':
|
||||
raise FDroidException(_('UpdateCheckData has invalid URL: {url}').format(url=urlcode))
|
||||
raise FDroidException(_('UpdateCheckData has invalid URL: {url}').format(url=urlver))
|
||||
|
||||
logging.debug("...requesting {0}".format(urlcode))
|
||||
req = urllib.request.Request(urlcode, None, headers=net.HEADERS)
|
||||
|
Loading…
Reference in New Issue
Block a user