mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Wiki: Fix names on listing showing up as unknown
This commit is contained in:
@@ -89,7 +89,7 @@ class WikiRevision(tdb_cassandra.UuidThing, Printable):
|
||||
cache_ignore = set(['subreddit'] + list(_str_props)).union(Printable.cache_ignore)
|
||||
|
||||
def author_name(self):
|
||||
return get_author_name(getattr(self, 'author', None))
|
||||
return get_author_name(self._get('author', None))
|
||||
|
||||
@classmethod
|
||||
def add_props(cls, user, wrapped):
|
||||
|
||||
Reference in New Issue
Block a user