Return banned users as not existing

This commit is contained in:
Serene-Arc
2021-04-23 20:46:28 +10:00
parent db46676dec
commit e6551bb797
2 changed files with 19 additions and 1 deletions

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