Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent duplicate entries in bad words list #40

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

SeeknnDestroy
Copy link
Contributor

The modification in the get_bad_words method adds a condition to ensure that each bad word is only added once to the bad_words list. This change prevents duplicate entries if the same bad word appears multiple times in the profanity_results. This enhancement maintains the integrity of the returned list, ensuring that each bad word is represented only once.

@SeeknnDestroy SeeknnDestroy merged commit e0c2ffc into main Dec 21, 2023
@SeeknnDestroy SeeknnDestroy deleted the fix-minor-bug branch December 21, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant