VirtualMailManager/account.py
branchv0.6.x
changeset 374 ecdba68c7a2c
parent 366 d6573da35b5f
child 389 5f7e9f778b29
--- a/VirtualMailManager/account.py	Mon Jan 17 20:19:14 2011 +0000
+++ b/VirtualMailManager/account.py	Wed Jan 19 23:58:06 2011 +0000
@@ -147,7 +147,7 @@
         address of the Account."""
         dbc = self._dbh.cursor()
         dbc.execute('SELECT COUNT(destination) FROM alias WHERE destination '
-                    '= %s', (self._addr,))
+                    '= %s', (str(self._addr),))
         a_count = dbc.fetchone()[0]
         dbc.close()
         return a_count