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

Added wrap_exceptions to wicd-curses.py's run() function.

This commit is contained in:
Andrew Psaltis
2009-05-19 21:20:29 -04:00
parent a886d437b6
commit c66383903d

View File

@@ -1041,6 +1041,7 @@ def main():
urwid.set_encoding('utf8') urwid.set_encoding('utf8')
ui.run_wrapper(run) ui.run_wrapper(run)
@wrap_exceptions
def run(): def run():
global loop global loop
loop = gobject.MainLoop() loop = gobject.MainLoop()