some debug info

This commit is contained in:
mihalin 2022-03-13 02:19:33 +03:00
parent 59408aaacd
commit 10e140814d

View File

@ -51,8 +51,10 @@ def main():
loop.run_until_complete(initialization()) loop.run_until_complete(initialization())
if not args.onlyserver: if not args.onlyserver:
print("Run olgram polling")
loop.create_task(dp.start_polling()) loop.create_task(dp.start_polling())
if not args.noserver: if not args.noserver:
print("Run olgram server")
loop.create_task(server_main().start()) loop.create_task(server_main().start())
loop.run_forever() loop.run_forever()