summaryrefslogtreecommitdiff
path: root/src/poezio.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-08 23:00:55 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-08 23:00:55 +0000
commit77df6feb973f93a4f3cd834322757db8e72ddf1a (patch)
tree3b32fbf23dd0d47980a9a6327a1c0d133eedb85a /src/poezio.py
parent007466f6aa080539484870359fbd0a4590020099 (diff)
downloadpoezio-77df6feb973f93a4f3cd834322757db8e72ddf1a.tar.gz
poezio-77df6feb973f93a4f3cd834322757db8e72ddf1a.tar.bz2
poezio-77df6feb973f93a4f3cd834322757db8e72ddf1a.tar.xz
poezio-77df6feb973f93a4f3cd834322757db8e72ddf1a.zip
remove one more possible ncurses glitch by using a muttex. Also correctly receive the error messages. And little cleanup
Diffstat (limited to 'src/poezio.py')
-rw-r--r--src/poezio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poezio.py b/src/poezio.py
index 237f2571..9ce5952a 100644
--- a/src/poezio.py
+++ b/src/poezio.py
@@ -61,8 +61,8 @@ def exception_handler(type_, value, trace):
except: # if an exception is raised but initscr has never been called yet
pass
traceback.print_exception(type_, value, trace, None, sys.stderr)
- # import os # used to quit the program even from a thread
- # os.abort()
+ import os # used to quit the program even from a thread
+ os.abort()
sys.excepthook = exception_handler