From 36f10c43abae784f06a56b3648342be2aa5993d9 Mon Sep 17 00:00:00 2001 From: Justin C Date: Sat, 16 Mar 2024 18:50:16 -0400 Subject: [PATCH] Path and members are methods not properties. Adjusted InfoPanel to access these members correctly. --- hexabyte/widgets/info_panel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hexabyte/widgets/info_panel.py b/hexabyte/widgets/info_panel.py index a237070..5f6243d 100644 --- a/hexabyte/widgets/info_panel.py +++ b/hexabyte/widgets/info_panel.py @@ -88,10 +88,10 @@ def update_stats(self) -> None: kb_size = file_size // KB size_value.update(f"{kb_size:,} KB ({file_size:,} bytes)") owner_value = self.query_one("#owner-value", Static) - owner_value.update(filepath.owner) + owner_value.update(filepath.owner()) group_value = self.query_one("#group-value", Static) - group_value.update(filepath.group) + group_value.update(filepath.group()) perm_value = self.query_one("#permissions-value", Static) perm_value.update(stat.filemode(stats.st_mode))