mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Merge pull request #403 from rick-masters/fix-download-error
Convert status_code to string for error message.
This commit is contained in:
commit
78a7a5e222
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