mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for coding style
This commit is contained in:
parent
c0328c83a3
commit
aed34ab817
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue