Update interface.py

fixed syntax error