Skip to content

Commit

Permalink
Path and members are methods not properties. Adjusted InfoPanel to ac…
Browse files Browse the repository at this point in the history
…cess these members correctly.
  • Loading branch information
thetacom committed Mar 16, 2024
1 parent 776158a commit 36f10c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hexabyte/widgets/info_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 36f10c4

Please sign in to comment.