mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for color
This commit is contained in:
parent
e7c33a8f5e
commit
608e1f16b9
1 changed files with 3 additions and 3 deletions
|
@ -23,8 +23,8 @@ class Downloader(Configs, Utilities):
|
|||
self.color = self.colour()
|
||||
|
||||
self.bold: str = self.color['bold']
|
||||
self.cyan: str = self.color['cyan']
|
||||
self.red: str = self.color['red']
|
||||
self.blue: str = self.color['blue']
|
||||
self.endc: str = self.color['endc']
|
||||
self.byellow: str = f'{self.bold}{self.yellow}'
|
||||
self.bred: str = f'{self.bold}{self.red}'
|
||||
|
@ -76,5 +76,5 @@ class Downloader(Configs, Utilities):
|
|||
path_file = Path(self.path, file)
|
||||
|
||||
if not path_file.exists():
|
||||
raise SystemExit(f"\n{self.bred}FAILED {output}:{self.endc} '{self.blue}{url}{self.endc}' "
|
||||
f"to download.\n")
|
||||
raise SystemExit(f"\n{self.bred}FAILED {output}:{self.endc} Download the '{self.cyan}{file}{self.endc}' "
|
||||
f"file.\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue