]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - webapp/backend/planet.py
Huge update for fireinfo, introducting talk and nopaste
[people/shoehn/ipfire.org.git] / webapp / backend / planet.py
index 1c51b5bfe0ec7112ffe15c58f761fcc37f962e7d..5beb90ff1e878d143be19e3ad3db094ca1cd5ae8 100644 (file)
@@ -95,10 +95,10 @@ class PlanetEntry(Object):
 
        @property
        def author(self):
-               if not hasattr(self, "__author"):
-                       self.__author = self.accounts.search(self.data.author_id)
+               if not hasattr(self, "_author"):
+                       self._author = self.accounts.get_by_uid(self.data.author_id)
 
-               return self.__author
+               return self._author
 
        def set_status(self, status):
                if self.status == status: