Browse Source

little beauty fixes

bluehood 7 years ago
parent
commit
d970a8f29d
2 changed files with 1 additions and 4 deletions
  1. 0 2
      LCMbot.py
  2. 1 2
      handlers.py

+ 0 - 2
LCMbot.py

@@ -1,6 +1,4 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
-
 from telegram.ext import Updater, CommandHandler, MessageHandler
 import logging
 import handlers as hnd

+ 1 - 2
handlers.py

@@ -47,8 +47,7 @@ def tell_a_tale(bot, update):
     stories = [ 'Non conosco ancora nessuna storia. \
 Clona il mio repo e insegnamene qualcuna!' ]
     story = np.random.choice(stories)
-    bot.sendMessage(chat_id=update.message.chat_id,
-                    text=story)
+    bot.sendMessage(chat_id=update.message.chat_id, text=story)
 
 
 def print_msg_info(bot, update):