summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.py')
-rw-r--r--src/connection.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/connection.py b/src/connection.py
index c651032e..8a042502 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -22,16 +22,16 @@ import sys
import xmpp
from config import config
from logging import logger
-from threading import Thread
from handler import Handler
+import threading
-class Connection(Thread):
+class Connection(threading.Thread):
"""
Receives everything from Jabber and emits the
appropriate signals
"""
def __init__(self, server, resource):
- Thread.__init__(self)
+ threading.Thread.__init__(self)
self.handler = Handler()
self.server = server