summaryrefslogtreecommitdiffstats
path: root/curunir.py
diff options
context:
space:
mode:
Diffstat (limited to 'curunir.py')
-rw-r--r--curunir.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/curunir.py b/curunir.py
index 3c6c442..7d14410 100644
--- a/curunir.py
+++ b/curunir.py
@@ -1,6 +1,7 @@
from connection.xmpp import XMPPConnection
import signal, sys
+from config import config
run = True
@@ -12,7 +13,7 @@ signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
signal.signal(signal.SIGQUIT, exithandler)
-connection = XMPPConnection()
+connection = XMPPConnection(config)
connection.connect()
while run: