remove unnecessary strip

This commit is contained in:
udf 2018-04-08 19:07:12 +02:00
parent 61b90bd9e8
commit 32e9a20f39
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ async def delete(event):
await event.delete()
command = event.pattern_match.group(1)
if command == 'edit':
text = event.pattern_match.group(2).strip()
text = event.pattern_match.group(2)
if not text:
return
target = await get_target_message(event)