mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Raise an exception for configs
This commit is contained in:
parent
a742c714ce
commit
7744d69225
1 changed files with 3 additions and 3 deletions
|
@ -88,10 +88,10 @@ class Configs:
|
|||
colors: str = config['colors']
|
||||
|
||||
# Wget options
|
||||
wget_options: str = config['wget_options']
|
||||
wget_options: str = config['wget_optionsa']
|
||||
|
||||
except KeyError:
|
||||
pass
|
||||
except KeyError as err:
|
||||
raise KeyError(f"ERROR: {err} in the configurations.")
|
||||
|
||||
# Creating the paths if not exists
|
||||
paths = [tmp_slpkg,
|
||||
|
|
Loading…
Reference in a new issue