diff options
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/connection.py b/src/connection.py index 8ac8fc21..3b4e6e21 100644 --- a/src/connection.py +++ b/src/connection.py @@ -30,7 +30,6 @@ import xmpp from config import config from logging import logger from handler import Handler -from common import exception_handler import threading class Connection(threading.Thread): @@ -57,7 +56,6 @@ class Connection(threading.Thread): run in a thread connect to server """ - sys.excepthook = exception_handler if not self.connect_to_server(self.server, self.port): self.handler.emit('error', msg='Could not connect to server') sys.exit(-1) |