summaryrefslogtreecommitdiff
path: root/src/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.py')
-rw-r--r--src/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.py b/src/client.py
index ecbfb1de..8ab034d0 100644
--- a/src/client.py
+++ b/src/client.py
@@ -18,9 +18,6 @@
# along with Poezio. If not, see <http://www.gnu.org/licenses/>.
import sys
-#sys.stderr = open('errors', 'w') # never print anyerror
-#sys.stdout = open('salut', 'w')
-
from connection import Connection
from multiuserchat import MultiUserChat
from config import config
@@ -28,6 +25,9 @@ from handler import Handler
from gui import Gui
from curses import wrapper, initscr
+logfile = config.get('logfile')
+#sys.stderr = open(logfile, 'a') # print the errors in the logfile
+
class Client(object):
"""
Main class