diff --git a/modules/auto-schedule-pro/index.py b/modules/auto-schedule-pro/index.py index 5950cce..c82f1ae 100644 --- a/modules/auto-schedule-pro/index.py +++ b/modules/auto-schedule-pro/index.py @@ -177,10 +177,7 @@ if self.MESSAGE["text"].lower().split()[0] == "!пари": print(f"[auto-schedule-pro:error] Got exception '{e}' while parsing {command[1]}") # keeping day in bounds - while selected_day > 13: - selected_day -= 14 - while selected_day < 0: - selected_day += 14 + selected_day = selected_day % 14 if len(command) > 2: for i in command[2:]: