From 402b9c6787d6be68a63c01210c3e607d4b5434fe Mon Sep 17 00:00:00 2001 From: BorisKolganov Date: Fri, 17 Apr 2015 14:15:57 +0300 Subject: [PATCH] fucking table name --- helper.py | 2 +- helper.pyc | Bin 4168 -> 4168 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.py b/helper.py index 6abbd39..645cead 100644 --- a/helper.py +++ b/helper.py @@ -3,7 +3,7 @@ class DoesNotExist(Exception): def get_user_info(user_email, connection): cursor = connection.cursor() - if cursor.execute("select * from Users where email = '{}'".format(user_email)) == 0: + if cursor.execute("select * from users where email = '{}'".format(user_email)) == 0: raise DoesNotExist user = cursor.fetchone() cursor.execute("select followee from follows where follower = '{}'".format(user[3])) diff --git a/helper.pyc b/helper.pyc index 93c21601473fa6976198d863dfec5f7f8be3fa2b..fdfa106caa4e873dcc521c8b5d2f2956bc7d9e2b 100644 GIT binary patch delta 23 fcmX@1a6*Bd`7