diff --git a/bots/communication.py b/bots/communication.py index 9154a8c5..bd1c12ba 100644 --- a/bots/communication.py +++ b/bots/communication.py @@ -1909,7 +1909,7 @@ def connect(self): else: self.auth = None self.cert = None - self.url = botslib.Uri(scheme=self.scheme,hostname=self.channeldict['host'],port=self.channeldict['port'],path=self.channeldict['path']) + self.url = botslib.Uri(scheme=self.scheme,hostname=self.channeldict['host'],str(port=self.channeldict['port']),path=self.channeldict['path'],filename=self.channeldict['filename']) @botslib.log_session def incommunicate(self):