branch | v0.6.x |
changeset 379 | 7518d927d443 |
parent 366 | d6573da35b5f |
child 449 | 6826acb9b0a7 |
--- a/VirtualMailManager/transport.py Tue Feb 01 16:57:09 2011 +0000 +++ b/VirtualMailManager/transport.py Wed Feb 02 19:03:54 2011 +0000 @@ -96,8 +96,8 @@ dbc = self._dbh.cursor() dbc.execute("SELECT nextval('transport_id')") self._tid = dbc.fetchone()[0] - dbc.execute('INSERT INTO transport VALUES (%s, %s)', (self._tid, - self._transport)) + dbc.execute('INSERT INTO transport (tid, transport) VALUES (%s, %s)', + (self._tid, self._transport)) self._dbh.commit() dbc.close()