Skip to content

mrtest: select_package: validate input before calling int()

Caleb Connolly requested to merge mrtest-improve-ask into master

The ask() function input handling assumes that the input is a number if it isn't one of the valid actions. This would cause a crash if the user enters some invalid input. Fix this by calling .isnumeric() on the input before calling int().

Fixes #9 (closed)

Edited by Caleb Connolly

Merge request reports