From 151ef3044f694700af3539b40d0265f2bc31a57b Mon Sep 17 00:00:00 2001 From: Benoit SAGE Date: Fri, 2 Mar 2018 16:00:43 +0100 Subject: [PATCH] http/https correction Add filename and protect port convertion to str --- bots/communication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):