Skip to content

Commit

Permalink
Merge pull request #1643 from robz-tirtlib/patch-1
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
Badiboy authored Jul 25, 2022
2 parents 7c12162 + 9d9e76e commit a61508c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def start_ex(message):


# Any state
@bot.message_handler(state="*", commands='cancel')
@bot.message_handler(state="*", commands=['cancel'])
def any_state(message):
"""
Cancel state
Expand Down

0 comments on commit a61508c

Please sign in to comment.