fixed tmp dir
This commit is contained in:
parent
52b9729d0a
commit
5a5b936f32
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import requests
|
|||
|
||||
def download(
|
||||
url: str,
|
||||
destination_folder: Path = Path(tempfile.mkdtemp()),
|
||||
destination_folder: Path = Path(tempfile.gettempdir()),
|
||||
file_name: str = "file.pdf",
|
||||
) -> Path:
|
||||
response = requests.get(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue