summaryrefslogtreecommitdiff
path: root/src/client.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-26 17:10:37 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-26 17:10:37 +0000
commit865ab0316a53a32c9caac842bbd54d233cdd2665 (patch)
tree7901dd80922ed8717eec4178cab97fba3b3daf74 /src/client.py
parentb0b4dd1f0840def1352e34da8528af5e53696112 (diff)
downloadpoezio-865ab0316a53a32c9caac842bbd54d233cdd2665.tar.gz
poezio-865ab0316a53a32c9caac842bbd54d233cdd2665.tar.bz2
poezio-865ab0316a53a32c9caac842bbd54d233cdd2665.tar.xz
poezio-865ab0316a53a32c9caac842bbd54d233cdd2665.zip
nettoyage
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