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

Fixed UnicodeWarning in comparison of translated <None> label #31

Merged
merged 1 commit into from Jul 21, 2015

Conversation

roee88
Copy link
Contributor

@roee88 roee88 commented Jul 21, 2015

A fix for the bug described in http://forum.kodi.tv/showthread.php?tid=178294&pid=2058442#pid2058442

Empty sub-menus should normally be ignored.
When using some translations the comparison fails and so there is no way to remove the empty sub-menu.

Reason: the translated text is using unicode while the label is a utf-8 encoded string.

@marcelveldt
Copy link
Contributor

Thanks for the fix. Looking fine.

marcelveldt added a commit that referenced this pull request Jul 21, 2015
Fixed UnicodeWarning in comparison of translated <None> label
@marcelveldt marcelveldt merged commit 6cff280 into BigNoid:master Jul 21, 2015
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

2 participants