From ba23607d8383b4a48c5f00c12c2585b9b8fae827 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Tue, 11 Oct 2016 23:53:16 -0700 Subject: [PATCH] Fixed bug in ordering of /r/front. --- rtv/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/content.py b/rtv/content.py index 9c72b33..8a4537d 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -565,7 +565,7 @@ class SubredditContent(Content): # instead of calling reddit.get_hot_from_week() method_alias = 'get_{0}'.format(order) method = getattr(reddit, method_alias) - submissions = method(limit=None, t=period) + submissions = method(limit=None, params={'t': period}) else: submissions = getattr(reddit, method_alias)(limit=None)