From 9886080f8160b36779d27460bcdcd9550b1fc917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Wed, 20 Apr 2016 18:02:45 +0300 Subject: [PATCH] messager parameters fixed --- opt/ahenk/base/messaging/Messager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opt/ahenk/base/messaging/Messager.py b/opt/ahenk/base/messaging/Messager.py index acfa035..0c10cb9 100644 --- a/opt/ahenk/base/messaging/Messager.py +++ b/opt/ahenk/base/messaging/Messager.py @@ -10,7 +10,6 @@ import sys import slixmpp sys.path.append('../..') -from slixmpp.exceptions import IqError, IqTimeout from base.Scope import Scope from base.messaging.FileTransfer import FileTransfer @@ -36,8 +35,7 @@ class Messager(slixmpp.ClientXMPP): self.file = None self.hostname = self.configuration_manager.get('CONNECTION', 'host') self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/Smack' - self.nick = self.configuration_manager.get('CONNECTION', 'nick') - self.receive_file_path = self.configuration_manager.get('CONNECTION', 'receiveFileParam') + self.receive_file_path = self.configuration_manager.get('CONNECTION', 'receivefileparam') self.logger.debug('[Messager] XMPP Receiver parameters were set') self.register_extensions()