Updated for package name

This commit is contained in:
Dimitris Zlatanidis 2023-01-24 14:02:19 +02:00
parent 41b2aaa92d
commit 0c29c590df

View file

@ -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