1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

06 change comment

This commit is contained in:
Michael An
2024-11-19 17:39:12 +08:00
parent c9fc135bbc
commit 14800df3fd

View File

@@ -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: