From ee06001fad2d72a23df4c6fee5dd480632c46a74 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 30 Apr 2023 21:43:12 +0300 Subject: [PATCH] Updated for status exit --- slpkg/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/downloader.py b/slpkg/downloader.py index e7a84b7f..8f5c52f0 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -57,7 +57,7 @@ class Downloader(Configs): shutil.copy2(Path(url.replace('file:', '')), self.tmp_slpkg) print(f"{self.byellow}Copying{self.endc}: {Path(url.replace('file:', ''))} -> {self.tmp_slpkg}") except FileNotFoundError as error: - self.errors.raise_error_message(f'{error}', 20) + self.errors.raise_error_message(f'{error}', 1) else: if self.downloader in ['wget', 'wget2']: