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']
|
colors: str = config['colors']
|
||||||
|
|
||||||
# Wget options
|
# Wget options
|
||||||
wget_options: str = config['wget_options']
|
wget_options: str = config['wget_optionsa']
|
||||||
|
|
||||||
except KeyError:
|
except KeyError as err:
|
||||||
pass
|
raise KeyError(f"ERROR: {err} in the configurations.")
|
||||||
|
|
||||||
# Creating the paths if not exists
|
# Creating the paths if not exists
|
||||||
paths = [tmp_slpkg,
|
paths = [tmp_slpkg,
|
||||||
|
|
Loading…
Reference in a new issue