Skip to content

Commit

Permalink
fucking table name
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisKolganov committed Apr 17, 2015
1 parent 7b03320 commit 402b9c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down
Binary file modified helper.pyc
Binary file not shown.

0 comments on commit 402b9c6

Please sign in to comment.