]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - webapp/backend/accounts.py
planet: Add yearly summary.
[people/shoehn/ipfire.org.git] / webapp / backend / accounts.py
index 54b8f325ada7f8cbda51f7e1ca9392e60a86390d..9be734e98a61e2e3ecd9f3ba46e18efc940ccd01 100644 (file)
@@ -160,7 +160,7 @@ class Account(object):
                name = name.replace("ΓΌ", "ue")
 
                for mail in self.mail:
-                       if mail.startswith(name + "@"):
+                       if mail.startswith("%s@ipfire.org" % name):
                                return mail
 
                raise Exception, "Cannot figure out email address"