Fix crash when running the quick drive test

This commit is contained in:
2Shirt 2018-09-28 14:03:55 -06:00
parent aa1fda8ac4
commit f35869b2b0
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -341,6 +341,7 @@ def menu_diags(*args):
action_entries = actions,
spacer = '──────────────────────────')
if selection.isnumeric():
ticket_number = None
if diag_modes[int(selection)-1]['Name'] != 'Quick drive test':
clear_screen()
print_standard(' ')