mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Convert status_code to string for error message.
This commit is contained in:
parent
5b7175de3e
commit
468aeb07a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue