VirtualMailManager/Account.py
branchv0.6.x
changeset 235 9d3405ed08e5
parent 228 a7b000ca4ac9
child 236 084331dd1e4c
--- a/VirtualMailManager/Account.py	Fri Apr 02 17:30:44 2010 +0000
+++ b/VirtualMailManager/Account.py	Sat Apr 03 02:14:13 2010 +0000
@@ -170,7 +170,7 @@
             dbc.execute('UPDATE users SET passwd = %s WHERE uid = %s',
                     value, self._uid)
         elif what == 'transport':
-            self._tid = Transport(self._dbh, transport=value).id
+            self._tid = Transport(self._dbh, transport=value).tid
             dbc.execute('UPDATE users SET tid = %s WHERE uid = %s',
                     self._tid, self._uid)
         else: