mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated alignment
This commit is contained in:
parent
4b84f756e5
commit
ba9d83e236
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class Downloader(Configs, Utilities):
|
|||
def transfer_tools(self) -> None:
|
||||
""" Downloader tools wget, curl and lftp. """
|
||||
if self.downloader == 'wget':
|
||||
self.output = subprocess.call(f'{self.downloader} {self.wget_options} --directory-prefix={self.path} '
|
||||
self.output = subprocess.call(f'{self.downloader} a{self.wget_options} --directory-prefix={self.path} '
|
||||
f'"{self.url}"', shell=True, stderr=self.stderr, stdout=self.stdout)
|
||||
elif self.downloader == 'curl':
|
||||
self.output = subprocess.call(f'{self.downloader} {self.curl_options} "{self.url}" --output '
|
||||
|
@ -92,7 +92,7 @@ class Downloader(Configs, Utilities):
|
|||
if not p1.is_alive():
|
||||
|
||||
if p1.exitcode != 0:
|
||||
done: str = f' {self.bred} Failed{self.endc}'
|
||||
done: str = f'{self.bred:>10} Failed{self.endc}'
|
||||
self.output: int = p1.exitcode
|
||||
|
||||
print(f'{self.endc}{done}', end='')
|
||||
|
|
Loading…
Reference in a new issue