From a84c0b984b73a7d79c150fe839c25e93ec4cec55 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 9 Feb 2017 16:49:15 +0300 Subject: [PATCH] Fixed typo: from plan to plain Line 184: from `return message.document.mime_type == 'text/plan'` to `return message.document.mime_type == 'text/plain'` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b788d4f..0ad5ae0 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ def handle_text_doc(message): #Which could also be defined as: def test_message(message): - return message.document.mime_type == 'text/plan' + return message.document.mime_type == 'text/plain' @bot.message_handler(func=test_message, content_types=['document']) def handle_text_doc(message)