Added logging and error handling for posts and comments.
This commit is contained in:
@@ -261,7 +261,7 @@ class SubredditContent(BaseContent):
|
||||
display_name += '/{}'.format(order)
|
||||
|
||||
if name == 'me':
|
||||
if not self.reddit.is_logged_in():
|
||||
if not reddit.is_logged_in():
|
||||
raise AccountError
|
||||
else:
|
||||
submissions = reddit.user.get_submitted(sort=order)
|
||||
|
||||
Reference in New Issue
Block a user