diff --git a/slpkg/downloader.py b/slpkg/downloader.py index fb8bc18b..b5649a7b 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -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} a{self.wget_options} --directory-prefix={self.path} ' + self.output = subprocess.call(f'{self.downloader} {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 '