Permalink
Browse files

oops sorry fix bad patch

  • Loading branch information...
jonathan
jonathan committed Mar 3, 2011
1 parent d172375 commit 743c2d036c901027beda25845bbc2af236f09439
Showing with 3 additions and 3 deletions.
  1. +3 −3 main.py
View
@@ -82,9 +82,9 @@ def signin(cls, email, type):
image = 'http://0.gravatar.com/avatar/%s' % hash
name = string.capwords(email.split('@')[0].replace('.', ' '))
# prevents double signin...
- previous_signin = db.GqlQuery("SELECT * FROM Signin WHERE email = '%s' AND active = true" % email).get()
- if previous_signin is not None:
- cls.deactivate_staffer(email)
+ #previous_signin = db.GqlQuery("SELECT * FROM Signin WHERE email = '%s' AND active = true" % email).get()
+ #if previous_signin is not None:
+ # cls.deactivate_staffer(email)
s = Signin(email=email, type=type, image_url=image, name=name)
s.put()
return s

0 comments on commit 743c2d0

Please sign in to comment.