mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for package name
This commit is contained in:
parent
41b2aaa92d
commit
0c29c590df
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ class Utilities:
|
|||
var_log_packages = Path(self.configs.log_packages)
|
||||
|
||||
for file in var_log_packages.glob(pattern):
|
||||
if self.split_installed_pkg(file.name)[0] not in self.black.get():
|
||||
package_name = self.split_installed_pkg(file.name)[0]
|
||||
|
||||
if package_name not in self.black.get():
|
||||
yield file.name
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue