summaryrefslogtreecommitdiff
path: root/src/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.py')
-rw-r--r--src/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.py b/src/client.py
index 31792512..df7f62d5 100644
--- a/src/client.py
+++ b/src/client.py
@@ -25,7 +25,8 @@ from handler import Handler
from gui import Gui
from curses import wrapper, initscr
-sys.stderr = open('/dev/null', 'a')
+if len(sys.argv) == 1: # not debug, so hide any error message
+ sys.stderr = open('/dev/null', 'a')
class Client(object):
"""