Skip to content

Commit

Permalink
controllo categoria rimozione post
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylake-dev committed Apr 2, 2024
1 parent e0bfd13 commit 359c358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/reddit_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def load_post(self, sub: str) -> Submission:
submission.banned_by is None and
submission.author is not None and
submission.removed_by is None and
'removed_by_category' not in vars(submission)
('removed_by_category' not in vars(submission) or submission.removed_by_category != 'deleted')
):
return submission

Expand Down

0 comments on commit 359c358

Please sign in to comment.