Adjust HW Diagnostics top text handling

This commit is contained in:
2Shirt 2023-03-05 16:32:57 -08:00
parent 127b1bef52
commit b304475011
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -171,7 +171,6 @@ class State():
self.test_groups.clear()
# osTicket
self.top_text = std.color_string('Hardware Diagnostics', 'GREEN')
self.ost.init()
self.ost.disabled = not menu.toggles['osTicket Integration']['Selected']
@ -1026,9 +1025,6 @@ def run_diags(state, menu, quick_mode=False, test_mode=False) -> None:
else:
std.pause('Press Enter to return to main menu...')
# osTicket
state.top_text = std.color_string('Hardware Diagnostics', 'GREEN')
def show_failed_attributes(state) -> None:
"""Show failed attributes for all disks."""