Updated standard width var
This commit is contained in:
@ -406,7 +406,7 @@ class SystemHealthMonitor:
|
|||||||
timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
priority = "⚠ HIGH" if "CRITICAL" in issue else "● MEDIUM"
|
priority = "⚠ HIGH" if "CRITICAL" in issue else "● MEDIUM"
|
||||||
|
|
||||||
content_width = STANDARD_WIDTH - 2
|
content_width = self.STANDARD_WIDTH - 2
|
||||||
banner = f"""
|
banner = f"""
|
||||||
┏{'━' * content_width}┓
|
┏{'━' * content_width}┓
|
||||||
┃{' HARDWARE MONITORING ALERT TICKET '.center(content_width)}┃
|
┃{' HARDWARE MONITORING ALERT TICKET '.center(content_width)}┃
|
||||||
|
|||||||
Reference in New Issue
Block a user