This commit is contained in:
mihalin 2022-01-19 00:42:29 +03:00
parent 9f0c03fb68
commit 173014fda0

View File

@ -52,7 +52,7 @@ def main():
"разработки)", action="store_true") "разработки)", action="store_true")
args = parser.parse_args() args = parser.parse_args()
loop = asyncio.new_event_loop() loop = asyncio.get_event_loop()
loop.run_until_complete(initialization()) loop.run_until_complete(initialization())
loop.create_task(dp.start_polling()) loop.create_task(dp.start_polling())