[Pkg-anonymity-tools] [onionshare] 102/140: fixes #115

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository onionshare.

commit fec0c9ad6534c39e0d80462869515aa6109e533e
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Sep 16 01:23:43 2014 +0000

    fixes #115
---
 onionshare/strings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionshare/strings.py b/onionshare/strings.py
index a595f2f..a8561a8 100644
--- a/onionshare/strings.py
+++ b/onionshare/strings.py
@@ -36,6 +36,6 @@ def load_strings(default="en"):
                     strings[key] = translated[lang][key]
 
 def translated(k):
-    return strings[k].encode("utf-8")
+    return strings[k].encode("utf-8").decode('utf-8', 'replace')
 
 _ = translated

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list