mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
asyncio to thread
This commit is contained in:
parent
da1e2fa9dd
commit
e732f01638
@ -50,6 +50,7 @@ async def home_office(
|
|||||||
message = 'Остановка Б. Академическая ул, д. 15'
|
message = 'Остановка Б. Академическая ул, д. 15'
|
||||||
|
|
||||||
await asyncio.sleep(15)
|
await asyncio.sleep(15)
|
||||||
|
await bot.send_message(417070387, 'World Hello')
|
||||||
|
|
||||||
# text = parse_site(
|
# text = parse_site(
|
||||||
# driver=driver,
|
# driver=driver,
|
||||||
@ -73,6 +74,7 @@ async def office_home(
|
|||||||
message = 'Остановка Улица Алабяна'
|
message = 'Остановка Улица Алабяна'
|
||||||
|
|
||||||
await asyncio.sleep(15)
|
await asyncio.sleep(15)
|
||||||
|
await bot.send_message(417070387, 'Hello World')
|
||||||
|
|
||||||
# text = parse_site(
|
# text = parse_site(
|
||||||
# driver=driver,
|
# driver=driver,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user