remove errant trailing slash added in 7613c18dd8

This commit is contained in:
Hans-Christoph Steiner 2017-07-19 23:59:47 +02:00
parent be523a3f1a
commit c1e9379f67

View file

@ -81,7 +81,7 @@ def main():
net.download_file(url, dldir=tmp_dir)
except requests.exceptions.HTTPError as e:
try:
net.download_file(url.replace('/repo', '/archive/'), dldir=tmp_dir)
net.download_file(url.replace('/repo', '/archive'), dldir=tmp_dir)
except requests.exceptions.HTTPError as e:
raise FDroidException('Downloading %s failed. %s', (url, e))