Permalink
Browse files

fix bug

  • Loading branch information...
1 parent 55f5976 commit c1990ecedae9515d1715a400123de104fc50d00b Binux committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/user_manager.py
View
@@ -109,7 +109,7 @@ def get_permission(self, email):
user = self.get_user(email)
if user:
return user.permission or 0
- return None
+ return 0
@mem_cache(expire=60)
def check_permission(self, email, permission):

0 comments on commit c1990ec

Please sign in to comment.