From 0af39d991a6936b737d9f359992f62d1d53635f3 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Sun, 19 Jul 2020 19:33:02 +0400 Subject: [PATCH] Fixed autorotation. Signed-off-by: Pavel Kirilin <win10@list.ru> --- src/actions/speller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/speller.py b/src/actions/speller.py index 4a165ca..c3cd3c9 100644 --- a/src/actions/speller.py +++ b/src/actions/speller.py @@ -44,7 +44,7 @@ async def rotate_words(event: events.NewMessage.Event): rotors = [] for swear in swearing_match: start_index, stop_index = swear.span() - rotors.append(Rotor(swear.group(), start_index, stop_index)) + rotors.append(Rotor(swear.group(), start_index)) rotation_start = datetime.now() current_time = rotation_start -- GitLab