Updated alignment

This commit is contained in:
Dimitris Zlatanidis 2023-03-10 21:11:05 +02:00
parent 4b84f756e5
commit ba9d83e236

View file

@ -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='')