diff --git a/Dockerfile b/Dockerfile index dbce256..58681c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM python:3.8-buster +FROM python:3.10-buster ENV PYTHONUNBUFFERED=1 \ - POETRY_VERSION=1.1.2 \ + POETRY_VERSION=1.1.12 \ POETRY_VIRTUALENVS_CREATE="false" RUN apt-get update && \ diff --git a/olgram/commands/admin.py b/olgram/commands/admin.py index a5fcdfc..0dd689a 100644 --- a/olgram/commands/admin.py +++ b/olgram/commands/admin.py @@ -11,7 +11,7 @@ from olgram.settings import OlgramSettings from locales.locale import _ -@dp.message_handler(commands=["notify-owner"], state="*") +@dp.message_handler(commands=["notifyowner"], state="*") async def notify(message: types.Message, state: FSMContext): """ Команда /notify-owner