diff --git a/slpkg/views/views.py b/slpkg/views/views.py index c095471f..15ad5e76 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -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: