fix syntax error on api.py patch
Merge pull request #1 from hyunsun/stable/grizzly

fix syntax error on api.py patch