This commit is contained in:
mihalin 2021-09-10 00:41:50 +03:00
parent c620fb60b9
commit b4b1129324

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()