Updated scope of STANDARD_WIDTH variable
This commit is contained in:
@ -252,6 +252,7 @@ class SystemHealthMonitor:
|
||||
3. Check workload distribution
|
||||
"""
|
||||
}
|
||||
STANDARD_WIDTH = 80
|
||||
|
||||
def __init__(self,
|
||||
ticket_api_url: str = 'http://10.10.10.45/create_ticket_api.php',
|
||||
@ -362,8 +363,6 @@ class SystemHealthMonitor:
|
||||
|
||||
return drive_details
|
||||
|
||||
STANDARD_WIDTH = 80
|
||||
|
||||
def make_box(title: str, content: str) -> str:
|
||||
return f"""
|
||||
┏━ {title} {'━' * (content_width - len(title) - 3)}┓
|
||||
|
||||
Reference in New Issue
Block a user