Add a couple of lines for pep8 compliance
This commit is contained in:
parent
3f2e2c3ff4
commit
838676ee93
@ -106,8 +106,8 @@ class XMPPBot(sleekxmpp.ClientXMPP):
|
|||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
self.jabber.register_plugin('xep_0045') # XMPP MUC.
|
self.jabber.register_plugin('xep_0045') # XMPP MUC.
|
||||||
self.jabber.register_plugin('xep_0199') # XMPP Ping.
|
self.jabber.register_plugin('xep_0199') # XMPP Ping.
|
||||||
if self.jabber.connect():
|
if self.jabber.connect():
|
||||||
# sys.stderr.write('connected with %s\n'%con)
|
# sys.stderr.write('connected with %s\n'%con)
|
||||||
print('Connected to XMPP')
|
print('Connected to XMPP')
|
||||||
|
Loading…
Reference in New Issue
Block a user