mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
some debug info
This commit is contained in:
parent
59408aaacd
commit
10e140814d
2
main.py
2
main.py
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user