Remove unnecessary spaces and reorganize imports

This commit is contained in:
latan 2023-08-10 15:02:25 +03:00
parent 6b2b3f48a7
commit 31baa12d90
5 changed files with 0 additions and 5 deletions

View file

@ -17,7 +17,6 @@ from aiogram.webhook.aiohttp_server import SimpleRequestHandler, setup_applicati
# Bot token can be obtained via https://t.me/BotFather
TOKEN = getenv("BOT_TOKEN")
# Webserver settings
# bind localhost only to prevent any external access
WEB_SERVER_HOST = "127.0.0.1"

View file

@ -17,7 +17,6 @@ from aiogram.webhook.aiohttp_server import SimpleRequestHandler, setup_applicati
# Bot token can be obtained via https://t.me/BotFather
TOKEN = getenv("BOT_TOKEN")
# Webserver settings
# bind localhost only to prevent any external access
WEB_SERVER_HOST = "127.0.0.1"

View file

@ -18,7 +18,6 @@ from aiogram.types import (
TOKEN = getenv("BOT_TOKEN")
form_router = Router()

View file

@ -23,7 +23,6 @@ main_router = Router()
BASE_URL = getenv("BASE_URL", "https://example.com")
MAIN_BOT_TOKEN = getenv("BOT_TOKEN")
WEB_SERVER_HOST = "127.0.0.1"
WEB_SERVER_PORT = 8080
MAIN_BOT_PATH = "/webhook/main"

View file

@ -17,7 +17,6 @@ from aiogram.utils.markdown import hbold, hcode
TOKEN = getenv("BOT_TOKEN")
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)