From aed34ab817d4b3d1befc9aee444a779115e27e43 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 8 May 2023 12:07:17 +0300 Subject: [PATCH] Updated for coding style --- slpkg/downloader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/slpkg/downloader.py b/slpkg/downloader.py index 3e6aced6..387aeb3e 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -74,6 +74,5 @@ class Downloader(Configs): def check_if_downloaded(self, url: str, filename: str) -> None: """ Checks if the file downloaded. """ path_file: Path = Path(self.path, filename) - if not path_file.exists(): self.errors.raise_error_message(f"Download the '{url}' file", exit_status=20)