Fix bug in Subreddit.get_sticky_fullnames()

This commit is contained in:
Chad Birch
2015-07-17 10:33:21 -07:00
parent 30d970ae80
commit cd0e17510e

View File

@@ -1180,8 +1180,9 @@ class Subreddit(Thing, Printable, BaseSite):
# if there's an old single sticky, convert it
if getattr(self, "sticky_fullname", None):
self.sticky_fullnames = [self.sticky_fullname]
self.sticky_fullname = None
self._commit()
else:
self.sticky_fullnames = []
self._commit()
return self.sticky_fullnames