Fixed bug in ordering of /r/front.

This commit is contained in:
Michael Lazar
2016-10-11 23:53:16 -07:00
parent 496fb849e1
commit ba23607d83

View File

@@ -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)