diff --git a/telebot/util.py b/telebot/util.py index a6e18e9..fa0e51b 100644 --- a/telebot/util.py +++ b/telebot/util.py @@ -239,4 +239,4 @@ def extract_arguments(text): """ regexp = re.("\/\w*(@\w*)*\s*([\s\S]*)",re.IGNORECASE) result = regexp.match(text) - return result.group(2) if if is_command(text) else None + return result.group(2) if is_command(text) else None