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

[WebUI] Fix error escaping translated text #219

Merged
merged 1 commit into from
Oct 14, 2018

Conversation

cas--
Copy link
Member

@cas-- cas-- commented Oct 13, 2018

In a previous commit d4023e7 removed a decode for Python 3 but
with translated text returned by gettext encoded on Python 2 the
escape function would raise a UnicodeDecodeError trying to use ascii
to decode.

The fix is to decode the message returned by gettext on Python 2.

In a previous commit d4023e7 removed a decode for Python 3 but
with translated text returned by gettext encoded on Python 2 the
escape function would raise a UnicodeDecodeError trying to use ascii
to decode.

The fix is to decode the message returned by gettext on Python 2.
@cas-- cas-- merged commit 10d39c8 into deluge-torrent:develop Oct 14, 2018
@cas-- cas-- deleted the Fix/WebUI-escape-error branch October 14, 2018 09:59
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