1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Update util.py

Typo
This commit is contained in:
DrBomb 2016-03-17 00:51:02 -04:30
parent 7669781737
commit 78d86752fb

View File

@ -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