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

[translate] Fix some edge cases #940

Merged
merged 2 commits into from
Nov 22, 2015
Merged

Conversation

maxpowa
Copy link
Contributor

@maxpowa maxpowa commented Nov 18, 2015

Fixes TypeError: 'NoneType' object is not iterable when an invalid language hint abbreviation was given.

Fixes another TypeError: 'NoneType' when no string was given to translate.

Happened when an invalid language hint abbreviation was given.
embolalia added a commit that referenced this pull request Nov 22, 2015
[translate] Fix some edge cases
@embolalia embolalia merged commit a8522ac into sopel-irc:master Nov 22, 2015
@maxpowa maxpowa deleted the patch-1 branch November 23, 2015 03:52
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