Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 12:07:17 +03:00
parent c0328c83a3
commit aed34ab817

View file

@ -74,6 +74,5 @@ class Downloader(Configs):
def check_if_downloaded(self, url: str, filename: str) -> None: def check_if_downloaded(self, url: str, filename: str) -> None:
""" Checks if the file downloaded. """ """ Checks if the file downloaded. """
path_file: Path = Path(self.path, filename) path_file: Path = Path(self.path, filename)
if not path_file.exists(): if not path_file.exists():
self.errors.raise_error_message(f"Download the '{url}' file", exit_status=20) self.errors.raise_error_message(f"Download the '{url}' file", exit_status=20)