Skip to content

Fix index error while the result of meaning is not found#21

Open
xero7689 wants to merge 1 commit intogeekpradd:masterfrom
xero7689:result_not_found
Open

Fix index error while the result of meaning is not found#21
xero7689 wants to merge 1 commit intogeekpradd:masterfrom
xero7689:result_not_found

Conversation

@xero7689
Copy link

While the input is meaningless, thesaurus.com will return a not found
message. This will cause the part of using reg module to find meanings
raising index error.

I added a statement to determine this situation and directly return
empty output.

While the input is meaningless, thesaurus.com will return a not found
message. This will cause the part of using reg module to find meanings
raising index error.

I added a statement to determine this situation and directly return
empty output.
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