diff --git a/seahub/profile/models.py b/seahub/profile/models.py index e51c2bb7a7..60036db360 100644 --- a/seahub/profile/models.py +++ b/seahub/profile/models.py @@ -91,7 +91,7 @@ class ProfileManager(models.Manager): return None def get_contact_email_by_user(self, username): - """Get a user's contact email, use username(login email) if not found. + """Get a user's contact email, return None if not found. """ p = self.get_profile_by_user(username) if p and p.contact_email: