diff --git a/hwmonDaemon.py b/hwmonDaemon.py index 896d17c..dac92ce 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -394,7 +394,8 @@ class SystemHealthMonitor: return drive_details - def make_box(title: str, content: str) -> str: + def make_box(self, title: str, content: str, content_width: int = 70) -> str: + """Create a formatted box with title and content.""" return f""" ┏━ {title} {'━' * (content_width - len(title) - 3)}┓ {content}