[reddit] fix AttributeError when using 'recursion' (fixes #879)

This commit is contained in:
Mike Fährmann
2020-07-09 19:19:05 +02:00
parent 94a08f0bcb
commit 5a6e750704

View File

@@ -101,7 +101,7 @@ class RedditExtractor(Extractor):
depth += 1
submissions = (
self.api.submission(sid) for sid in extra
if sid not in self._visited
if sid not in visited
)
def submissions(self):