From fa288418e5500a1d9e8b4c19824eea083997f86d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 11 Oct 2007 10:17:36 +0000 Subject: [PATCH] Sigh. --- new_model/User.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new_model/User.py b/new_model/User.py index 1664819..0ce58f0 100644 --- a/new_model/User.py +++ b/new_model/User.py @@ -127,7 +127,7 @@ class User( Persistent ): @staticmethod def sql_load_by_email_address( email_address ): - return "select * from luminotes_user_current where username = %s;" % quote( email_address ) + return "select * from luminotes_user_current where email_address = %s;" % quote( email_address ) def sql_load_notebooks( self, parents_only = False ): """