From d894219f2441c814ab98dfc8663efe3e31aaeecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Drago=C8=99?= Date: Wed, 25 Sep 2024 16:46:05 +0200 Subject: [PATCH] Hopefully pipeline passes so I can test this --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.py b/download.py index 679fb51..473ae07 100644 --- a/download.py +++ b/download.py @@ -30,7 +30,7 @@ def download_uri(uri: str) -> Optional[DownloadResult]: return http_download(uri) -def http_download(url: str) -> DownloadResult: +def http_download(url: str) -> Optional[DownloadResult]: logger.info(f"Checking if {url} was already downloaded") fn = os.path.basename(urlparse(url).path) input_file = os.path.join(input_file_dir, fn)