removed useless 'use_tls' variable
This commit is contained in:
parent
879dd11daa
commit
9c850f080d
@ -146,7 +146,7 @@ class ClientXMPP(basexmpp, XMLStream):
|
|||||||
|
|
||||||
logging.debug('Attempting connection to %s:%d', host, port )
|
logging.debug('Attempting connection to %s:%d', host, port )
|
||||||
#TODO option to not use TLS?
|
#TODO option to not use TLS?
|
||||||
result = XMLStream.connect(self, host, port, use_tls=True)
|
result = XMLStream.connect(self, host, port)
|
||||||
if result:
|
if result:
|
||||||
self.event("connected")
|
self.event("connected")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user