Better fix for the curses UTF-8 bug, thanks to Konrad Schöbel!
This commit is contained in:
1 parent
0e6254fd88
commit
0729e342f1
2 files changed
+2
-5
No files matched your search
@@ -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
|
||||
########################################
|
||||
|
||||
Reference in new issue
Block a user