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 split on NoneType bug #2063

Closed
wants to merge 1 commit into from
Closed

Conversation

Tmacshamgod
Copy link

AttributeError: 'NoneType' object has no attribute 'split'
locale -a, for the items that don't have a '_', show the error message abrove

@Vincent-C
Copy link

I think the added condition should be
if locale.getlocale()[0] is not None
instead of:
if locale.getlocale() is not None

@justinmayer
Copy link
Member

Thanks to @Tmacshamgod for the fix and to @Vincent-C the review. This should already be fixed in master, via: 84920e8. Please feel free to comment here if you think further work is needed.

@justinmayer justinmayer closed this Jan 3, 2017
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.

None yet

3 participants