From 11d2babe5cb7ff7125c666e964bd47f2b357626c Mon Sep 17 00:00:00 2001 From: Scott Date: Thu, 9 Feb 2017 20:46:36 -0600 Subject: [PATCH] Migrates multireddit function to PRAWv4 version --- shreddit/shredder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shreddit/shredder.py b/shreddit/shredder.py index bdbe68d..32c524e 100644 --- a/shreddit/shredder.py +++ b/shreddit/shredder.py @@ -39,14 +39,14 @@ class Shredder(object): # Add any multireddit subreddits to the whitelist self._whitelist = set([s.lower() for s in self._whitelist]) for username, multiname in self._multi_whitelist: - multireddit = self._r.get_multireddit(username, multiname) + multireddit = self._r.multireddit(username, multiname) for subreddit in multireddit.subreddits: self._whitelist.add(str(subreddit).lower()) # Add any multireddit subreddits to the blacklist self._blacklist = set() for username, multiname in self._multi_blacklist: - multireddit = self._r.get_multireddit(username, multiname) + multireddit = self._r.multireddit(username, multiname) for subreddit in multireddit.subreddits: self._blacklist.add(str(subreddit).lower())