Fix wrong if condition
This commit is contained in:
@@ -181,6 +181,7 @@ class RedditDownloader:
|
||||
return []
|
||||
|
||||
def _get_user_data(self) -> list[Iterator]:
|
||||
if any([self.args.submitted, self.args.upvoted, self.args.saved]):
|
||||
if self.args.user:
|
||||
if not self._check_user_existence(self.args.user):
|
||||
raise errors.RedditUserError(f'User {self.args.user} does not exist')
|
||||
|
||||
Reference in New Issue
Block a user