fix printing single-arg exceptions
This commit is contained in:
parent
7fe959ab39
commit
e13642351c
@ -127,7 +127,8 @@ void mp_obj_exception_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kin
|
||||
}
|
||||
return;
|
||||
}
|
||||
} else if (o->args->len == 1) {
|
||||
}
|
||||
if (o->args->len == 1) {
|
||||
mp_obj_print_helper(print, o->args->items[0], PRINT_STR);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user