mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
download using requests rather than self.session
This commit is contained in:
parent
609468cff9
commit
ab40bca32b
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class CotalityClient:
|
|||
return f"{base}{container}/{file_id}?{sas}"
|
||||
|
||||
def _download_file(self, url: str, file_name: str) -> None:
|
||||
r = self.session.get(url)
|
||||
r = requests.get(url)
|
||||
r.raise_for_status()
|
||||
|
||||
with open(file_name, "wb") as f:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue