diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.py b/src/client.py index 84af348e..a4249f9e 100644 --- a/src/client.py +++ b/src/client.py @@ -25,6 +25,8 @@ from handler import Handler from gui import Gui from curses import wrapper, initscr +sys.stderr = open('log', 'w') + if len(sys.argv) == 1: # not debug, so hide any error message and disable C-c import signal signal.signal(signal.SIGINT, signal.SIG_IGN) |