From 5a6e75070414ded013798edc3b5152dc2f70b158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 9 Jul 2020 19:19:05 +0200 Subject: [PATCH] [reddit] fix AttributeError when using 'recursion' (fixes #879) --- gallery_dl/extractor/reddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/reddit.py b/gallery_dl/extractor/reddit.py index 30a5bf78..679059cb 100644 --- a/gallery_dl/extractor/reddit.py +++ b/gallery_dl/extractor/reddit.py @@ -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):