1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

Better fix for the curses UTF-8 bug, thanks to Konrad Schöbel!

This commit is contained in:
David Paleino
2012-04-16 22:44:15 +02:00
parent 0e6254fd88
commit 0729e342f1
2 changed files with 2 additions and 5 deletions

View File

@@ -76,13 +76,10 @@ CURSES_REV=wpath.curses_revision
# Fix strings in wicd-curses
from wicd.translations import language
from wicd.translations import _ as orig_
from wicd.translations import _
for i in language.keys():
language[i] = language[i].decode('utf8')
def _(s):
return orig_(s).decode('utf8')
########################################
##### SUPPORT CLASSES
########################################