branch | v0.6.x |
changeset 509 | 1a9247e9763f |
parent 507 | 2aae58cddfa9 |
child 513 | 557c4703986c |
--- a/VirtualMailManager/catchall.py Mon Apr 09 23:50:12 2012 +0200 +++ b/VirtualMailManager/catchall.py Tue Apr 10 00:07:49 2012 +0200 @@ -91,7 +91,7 @@ """ dbc = self._dbh.cursor() if not destination: - dbc.execute('DELETE FROM catchall WHERE gid = %s', self._gid) + dbc.execute('DELETE FROM catchall WHERE gid = %s', (self._gid,)) else: dbc.execute('DELETE FROM catchall WHERE gid = %s ' 'AND destination = %s', (self._gid, str(destination)))