Fixed regression.py.

Signed-off-by: Smoss <Smoss117@gmail.com>