1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2025-01-06 02:17:09 +06:00
parent 7f7838a0d3
commit 3c53956470

View File

@@ -24,7 +24,7 @@ async def run_api():
async def main(): async def main():
"""Run both bot and API in the main thread""" """Run both bot and API in the main thread"""
try: try:
# Создаем задачи для бота и API # Создаем задачи для бота и AP
bot_task = asyncio.create_task(start_bot()) bot_task = asyncio.create_task(start_bot())
api_task = asyncio.create_task(run_api()) api_task = asyncio.create_task(run_api())