From 04130c058d8f4debdbfed29349a5dd4230ef873e Mon Sep 17 00:00:00 2001 From: Ray Lyon Date: Sun, 3 Apr 2022 12:13:57 -0400 Subject: [PATCH] linting and cleanup --- telegram-moviebot/telegram-moviebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram-moviebot/telegram-moviebot.py b/telegram-moviebot/telegram-moviebot.py index 9b2700d..0a9d9da 100644 --- a/telegram-moviebot/telegram-moviebot.py +++ b/telegram-moviebot/telegram-moviebot.py @@ -12,7 +12,6 @@ import os from datetime import datetime import movie_check import difflib -import re tmdb_api_token = os.environ.get("TMDB_API_TOKEN") @@ -111,7 +110,8 @@ def input_movie(update: Update, context: CallbackContext): context.bot.send_message(chat_id=update.effective_chat.id, text=movie_info, parse_mode=ParseMode.MARKDOWN_V2) if similarity < .80 and similarity != 0: - followup_msg = "Not the movie you're looking for? Sorry, I have to implement a 'year' function\." + followup_msg = ("Not the movie you're looking for? " + + "Sorry, I have to implement a 'year' function\.") context.bot.send_message(chat_id=update.effective_chat.id, text=followup_msg, parse_mode=ParseMode.MARKDOWN_V2)