modified

```
  File "/usr/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 187, in execute
    query = query % tuple([db.literal(item) for item in args])
TypeError: 'int' object is not iterable
```

http://mysql-python.sourceforge.net/MySQLdb.html#some-examples