Merge pull request #403 from rick-masters/fix-download-error

Convert status_code to string for error message.
This commit is contained in:
Andrius Štikonas 2024-01-10 22:36:29 +00:00 committed by GitHub
commit 78a7a5e222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ this script the next time")
target_file.write(response.raw.read())
else:
raise requests.HTTPError("Download failed: HTTP " +
response.status_code + " " + response.reason)
str(response.status_code) + " " + response.reason)
return abs_file_name
def get_packages(self):