Fixed problem with regression.py

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