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:
@@ -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