mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Updated for split
This commit is contained in:
parent
7cb3de4313
commit
db60825ac2
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Utilities(Configs):
|
|||
def all_installed(self) -> dict:
|
||||
""" Return all installed packages from /val/log/packages folder. """
|
||||
for file in self.log_packages.glob(self.file_pattern):
|
||||
name: str = self.split_package(file.name)[0]
|
||||
name: str = self.split_package(file.name)['name']
|
||||
|
||||
if not name.startswith('.') and not self.blacklist_pattern(name):
|
||||
yield name, file.name
|
||||
|
|
Loading…
Reference in a new issue