Updated for path

This commit is contained in:
Dimitris Zlatanidis 2023-04-06 17:46:21 +03:00
parent 5b733d0009
commit 311f02519c

View file

@ -178,7 +178,7 @@ class ViewMessage(Configs):
if installed:
pkg: list = self.utils.split_binary_pkg(installed)
self.installed_packages.append(installed)
size: str = self.utils.get_file_size(f'{self.log_packages}/{installed}')
size: str = self.utils.get_file_size(Path(self.log_packages, installed))
self.ascii.draw_view_package(pkg[0], pkg[1], size, self.red, '')
def choose_dependencies_for_remove(self, dependencies: list) -> list: