Return banned users as not existing

This commit is contained in:
Serene-Arc committed 2021-04-28 12:03:28 +10:00
1 parent db46676dec
commit e6551bb797
2 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ class RedditDownloader:
try:
if not user.id:
return False
except prawcore.exceptions.NotFound:
except (prawcore.exceptions.NotFound, AttributeError):
return False
return True