boobot: Style fixes
This commit is contained in:
parent
60c097a389
commit
ec4f934fee
1 changed files with 5 additions and 5 deletions
|
|
@ -52,10 +52,10 @@ class MyThread(Thread):
|
||||||
self.weboob.loop()
|
self.weboob.loop()
|
||||||
|
|
||||||
def find_keywords(self, text):
|
def find_keywords(self, text):
|
||||||
for word in ['weboob', 'videoob', 'havesex', 'havedate', 'monboob', 'boobmsg', \
|
for word in ['weboob', 'videoob', 'havesex', 'havedate', 'monboob', 'boobmsg',
|
||||||
'flatboob', 'boobill', 'pastoob', 'radioob', 'translaboob', 'traveloob', \
|
'flatboob', 'boobill', 'pastoob', 'radioob', 'translaboob', 'traveloob',
|
||||||
'boobathon', 'boobank', 'boobtracker', 'comparoob', 'wetboobs', \
|
'boobathon', 'boobank', 'boobtracker', 'comparoob', 'wetboobs',
|
||||||
'webcontentedit', 'weboorrents', u'sàt', u'salut à toi', 'ass2m', \
|
'webcontentedit', 'weboorrents', u'sàt', u'salut à toi', 'ass2m',
|
||||||
'budget insight', 'budget-insight', 'budgetinsight', 'budgea']:
|
'budget insight', 'budget-insight', 'budgetinsight', 'budgea']:
|
||||||
if word in text.lower():
|
if word in text.lower():
|
||||||
return word
|
return word
|
||||||
|
|
@ -139,7 +139,7 @@ def main():
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
bot.start();
|
bot.start()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print "Stopped."
|
print "Stopped."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue