From d4aa87ccd4c52d1f4a5b2d91091c22817d1a8204 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 2 Mar 2023 20:09:58 +0200 Subject: [PATCH] Updated for code style --- slpkg/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/downloader.py b/slpkg/downloader.py index aef71131..0391c031 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -63,7 +63,7 @@ class Downloader(Configs, Utilities): if self.ponce_repo and 'ponce' in self.url: # Download files from a directory. - self.output = subprocess.call(f"lftp {self.lftp_mirror_options} {self.url} {self.path}", + self.output = subprocess.call(f'lftp {self.lftp_mirror_options} {self.url} {self.path}', shell=True, stderr=self.stderr, stdout=self.stdout) # Create /path/name.Slackbuild slackbuild = Path(self.path, f'{str(self.path).split("/")[-1]}.SlackBuild') @@ -72,7 +72,7 @@ class Downloader(Configs, Utilities): os.chmod(slackbuild, 0o775) else: # Download binaries files and the sources. - self.output = subprocess.call(f"lftp {self.lftp_get_options} {self.url} -o {self.path}", + self.output = subprocess.call(f'lftp {self.lftp_get_options} {self.url} -o {self.path}', shell=True, stderr=self.stderr, stdout=self.stdout) else: