Fixed bug in ordering of /r/front.
This commit is contained in:
@@ -565,7 +565,7 @@ class SubredditContent(Content):
|
|||||||
# instead of calling reddit.get_hot_from_week()
|
# instead of calling reddit.get_hot_from_week()
|
||||||
method_alias = 'get_{0}'.format(order)
|
method_alias = 'get_{0}'.format(order)
|
||||||
method = getattr(reddit, method_alias)
|
method = getattr(reddit, method_alias)
|
||||||
submissions = method(limit=None, t=period)
|
submissions = method(limit=None, params={'t': period})
|
||||||
else:
|
else:
|
||||||
submissions = getattr(reddit, method_alias)(limit=None)
|
submissions = getattr(reddit, method_alias)(limit=None)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user