From 972fc4ad9a718a6f4f82ded00e4aad85aca82355 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Fri, 16 Oct 2015 11:39:53 -0700 Subject: [PATCH] /r/me now checks for an oauth session instead of an old-style login. #160. --- rtv/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/content.py b/rtv/content.py index bc2314f..47dac15 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -323,7 +323,7 @@ class SubredditContent(BaseContent): raise SubredditError('Unrecognized order "%s"' % order) if name == 'me': - if not reddit.is_logged_in(): + if not reddit.is_oauth_session(): raise AccountError('Could not access user account') elif order: submissions = reddit.user.get_submitted(sort=order)