mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed for blacklist
This commit is contained in:
parent
2ef63fb46c
commit
fd69e18685
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ class Blacklist(Configs):
|
|||
if self.blacklist_file_toml.is_file():
|
||||
try:
|
||||
with open(self.blacklist_file_toml, 'rb') as black:
|
||||
packages: tuple = tuple({k.lower(): v for k, v in tomli.load(black).items()})
|
||||
packages: dict = {k.lower(): v for k, v in tomli.load(black).items()}
|
||||
except (tomli.TOMLDecodeError, KeyError) as error:
|
||||
self.toml_errors.raise_toml_error_message(error, self.blacklist_file_toml)
|
||||
|
||||
return packages
|
||||
return packages['packages']
|
||||
|
|
Loading…
Reference in a new issue