not working again

This commit is contained in:
Dmitry Afanasyev 2022-08-16 17:47:19 +03:00
parent 777ee1fe33
commit 8acc4f2b7d
2 changed files with 3 additions and 8 deletions

View File

@ -28,11 +28,4 @@ lint-complexity:
# special commands
lint-deps:
safety check --full-report
# docker commands
test-deps-up:
docker compose -f tests/docker-compose.yml up -d
test-deps-down:
docker compose -f tests/docker-compose.yml down -v
safety check --full-report

View File

@ -5,6 +5,7 @@ from aiogram import Bot, types
from aiogram.contrib.middlewares.logging import LoggingMiddleware
from aiogram.dispatcher import Dispatcher
from aiogram.utils.callback_data import CallbackData
from app.core.logger import logger
from app.core.parse_web import (
configure_firefox_driver,
download_gecko_driver,
@ -77,6 +78,7 @@ async def office_home(
@dispatcher.message_handler(commands=['chatid'])
async def chat_id(message: types.Message) -> types.Message:
logger.info(message.chat.id)
return await bot.send_message(message.chat.id, message.chat.id)