This commit is contained in:
mihalin 2021-09-10 00:16:46 +03:00
parent d65ad33db1
commit 18c81d6b61

View File

@ -23,7 +23,7 @@ def main():
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
loop.run_until_complete(init_database()) loop.run_until_complete(init_database())
loop.create_task(dp.start_polling()) # loop.create_task(dp.start_polling())
loop.create_task(server_main().start()) loop.create_task(server_main().start())
loop.run_forever() loop.run_forever()