Add a couple of lines for pep8 compliance

This commit is contained in:
drymer 2016-08-08 19:05:59 +02:00
parent 3f2e2c3ff4
commit 838676ee93

View File

@ -106,8 +106,8 @@ class XMPPBot(sleekxmpp.ClientXMPP):
print(e)
def start(self):
self.jabber.register_plugin('xep_0045') # XMPP MUC.
self.jabber.register_plugin('xep_0199') # XMPP Ping.
self.jabber.register_plugin('xep_0045') # XMPP MUC.
self.jabber.register_plugin('xep_0199') # XMPP Ping.
if self.jabber.connect():
# sys.stderr.write('connected with %s\n'%con)
print('Connected to XMPP')