fixed minor syntax error in checkrun.py