mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated for status exit
This commit is contained in:
parent
7e125ecc1b
commit
ee06001fad
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class Downloader(Configs):
|
||||||
shutil.copy2(Path(url.replace('file:', '')), self.tmp_slpkg)
|
shutil.copy2(Path(url.replace('file:', '')), self.tmp_slpkg)
|
||||||
print(f"{self.byellow}Copying{self.endc}: {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:
|
except FileNotFoundError as error:
|
||||||
self.errors.raise_error_message(f'{error}', 20)
|
self.errors.raise_error_message(f'{error}', 1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if self.downloader in ['wget', 'wget2']:
|
if self.downloader in ['wget', 'wget2']:
|
||||||
|
|
Loading…
Reference in a new issue