mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
bump python version
This commit is contained in:
parent
8262854acb
commit
bfcf8ca414
@ -1,7 +1,7 @@
|
|||||||
FROM python:3.8-buster
|
FROM python:3.10-buster
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1 \
|
ENV PYTHONUNBUFFERED=1 \
|
||||||
POETRY_VERSION=1.1.2 \
|
POETRY_VERSION=1.1.12 \
|
||||||
POETRY_VIRTUALENVS_CREATE="false"
|
POETRY_VIRTUALENVS_CREATE="false"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
@ -11,7 +11,7 @@ from olgram.settings import OlgramSettings
|
|||||||
from locales.locale import _
|
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):
|
async def notify(message: types.Message, state: FSMContext):
|
||||||
"""
|
"""
|
||||||
Команда /notify-owner
|
Команда /notify-owner
|
||||||
|
Loading…
Reference in New Issue
Block a user