Updated for typing hints

This commit is contained in:
Dimitris Zlatanidis 2023-04-05 20:08:11 +03:00
parent 2b344eeb41
commit fa8b47ba03

View file

@ -47,7 +47,7 @@ class Utilities:
def all_installed(self) -> Generator:
""" Return all installed packages from /val/log/packages folder. """
var_log_packages = Path(self.configs.log_packages)
var_log_packages: Path = Path(self.configs.log_packages)
try:
for file in var_log_packages.glob(self.configs.file_pattern):