mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
@@ -97,7 +97,7 @@ class QtArchives:
|
||||
r = requests.get(update_xml_url, allow_redirects=False)
|
||||
if r.status_code == 302:
|
||||
new_url = altlink(update_xml_url)
|
||||
self.base = new_url[:-len(archive_path)-11]
|
||||
self.base = new_url[:-(len(archive_path) + 11)]
|
||||
except requests.exceptions.ConnectionError as e:
|
||||
self.logger.error('Download error: %s\n' % e.args, exc_info=True)
|
||||
raise e
|
||||
|
||||
2
tox.ini
2
tox.ini
@@ -15,7 +15,7 @@ ignore =
|
||||
|
||||
[isort]
|
||||
known_first_party = aqt
|
||||
known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,setuptools,sphinx,yaml,packaging
|
||||
known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,requests,setuptools,sphinx,yaml,packaging
|
||||
|
||||
[testenv:check]
|
||||
deps =
|
||||
|
||||
Reference in New Issue
Block a user