Skip to content

Commit

Permalink
Merge pull request eternnoir#293 from MonsterDeveloper/patch-1
Browse files Browse the repository at this point in the history
Fixed typo: from plan to plain
  • Loading branch information
eternnoir authored Feb 10, 2017
2 parents a356c9a + a84c0b9 commit 2b7e9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2b7e9a6

Please sign in to comment.