mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Fixed error for the config file
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
e82d860ad6
commit
7b4ebd55c3
1 changed files with 3 additions and 2 deletions
|
@ -90,8 +90,9 @@ class Configs:
|
|||
# Wget options
|
||||
wget_options: str = config['wget_options']
|
||||
|
||||
except KeyError as err:
|
||||
raise KeyError(f"ERROR: {err} in the configurations.")
|
||||
except KeyError:
|
||||
print("Error: check the configuration file "
|
||||
"in the '/etc/slpkg/' folder.\n")
|
||||
|
||||
# Creating the paths if not exists
|
||||
paths = [tmp_slpkg,
|
||||
|
|
Loading…
Add table
Reference in a new issue