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

Fix exception in WiktionarySource #131

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

RasmusRendal
Copy link
Contributor

The WiktionarySource depended on the status code to check if a word was defined.
If a word was not defined in the target language, but in some other language, the WiktionarySource would throw a KeyError.
This commit adds a simple check to fix that.

If a word was not defined in the target language, but in some other
language, the WiktionarySource would throw a KeyError
@1over137 1over137 merged commit c35fbf6 into FreeLanguageTools:master Jan 28, 2024
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.

2 participants