mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Remove unnecessary spaces and reorganize imports
This commit is contained in:
parent
6b2b3f48a7
commit
31baa12d90
5 changed files with 0 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ from aiogram.types import (
|
|||
|
||||
TOKEN = getenv("BOT_TOKEN")
|
||||
|
||||
|
||||
form_router = Router()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ from aiogram.utils.markdown import hbold, hcode
|
|||
|
||||
TOKEN = getenv("BOT_TOKEN")
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue