mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Fix bug in Subreddit.get_sticky_fullnames()
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user