mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Updated keyerror message
This commit is contained in:
parent
5625d57de4
commit
a811fbbb82
1 changed files with 3 additions and 3 deletions
|
@ -96,9 +96,9 @@ class Configs:
|
|||
# Dialog utility
|
||||
dialog: str = config['dialog']
|
||||
|
||||
except KeyError:
|
||||
print("Error: check the configuration file "
|
||||
"in the '/etc/slpkg/' folder.\n")
|
||||
except KeyError as error:
|
||||
print(f"Error: {error}: in the configuration file "
|
||||
"'/etc/slpkg/slpkg.toml'\n")
|
||||
|
||||
# Creating the paths if not exists
|
||||
paths = [tmp_slpkg,
|
||||
|
|
Loading…
Reference in a new issue