Fix syntax error in mp.py