1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-05 08:15:46 +01:00

Force utf8 encoding in wicd-curses.py. Hopefully this won't break compat on non-utf8 consoles.

This commit is contained in:
Andrew Psaltis
2009-02-21 01:17:59 -05:00
parent 9fef4a64a8
commit bf0f9daf3c

View File

@@ -896,6 +896,7 @@ def main():
('bold','white','black','bold')]) ('bold','white','black','bold')])
# This is a wrapper around a function that calls another a function that is a # This is a wrapper around a function that calls another a function that is a
# wrapper around a infinite loop. Fun. # wrapper around a infinite loop. Fun.
urwid.set_encoding('utf8')
ui.run_wrapper(run) ui.run_wrapper(run)
def run(): def run():