Update cmds.py

Oops! Syntax error.