From ede3ddc9d7cc1059b1fcdff8d4773ca6d9fc5941 Mon Sep 17 00:00:00 2001 From: Kirill Bolashev <111061261+kbolashev@users.noreply.github.com> Date: Sun, 21 Jul 2024 14:00:15 +0300 Subject: [PATCH] Update dagshub/common/download.py Co-authored-by: Simon L --- dagshub/common/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagshub/common/download.py b/dagshub/common/download.py index 515673c3..1c15cc5d 100644 --- a/dagshub/common/download.py +++ b/dagshub/common/download.py @@ -130,7 +130,7 @@ def download_url_to_bucket_path(url: str) -> Optional[Tuple[str, str, str]]: class DownloadError(Exception): def __init__(self, response: Response): self.response = response - super().__init__("Download failed with status code {response.status_code}") + super().__init__(f"Download failed with status code {response.status_code}") def is_download_server_error(error: BaseException) -> bool: