Convert status_code to string for error message.

This commit is contained in:
rick-masters 2024-01-10 17:32:06 +00:00
parent 5b7175de3e
commit 468aeb07a7
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):