Skip to content

mrtest: select_package: validate input before calling int()

Administrator 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 Administrator

Merge request reports

Loading