Update control.py

Changed a line to remove multiple assignment.