From 367cc299828b68431b4ce340c4b1375e00d18d0b Mon Sep 17 00:00:00 2001 From: mihalin Date: Fri, 10 Sep 2021 23:09:46 +0300 Subject: [PATCH] flake8 fixes --- server/custom.py | 1 - server/server.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/server/custom.py b/server/custom.py index 8476640..e6d725b 100644 --- a/server/custom.py +++ b/server/custom.py @@ -130,4 +130,3 @@ class CustomRequestHandler(WebhookRequestHandler): :return: :class:`aiogram.Dispatcher` """ return Dispatcher.get_current() - diff --git a/server/server.py b/server/server.py index fd11bec..07ddb2c 100644 --- a/server/server.py +++ b/server/server.py @@ -1,6 +1,4 @@ -from aiogram import Bot as AioBot, Dispatcher -from aiogram.dispatcher.webhook import SendMessage, WebhookRequestHandler -from aiogram import types +from aiogram import Bot as AioBot from olgram.models.models import Bot from aiohttp import web from asyncio import get_event_loop