mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
lefthook file back
This commit is contained in:
parent
581439b509
commit
be00798312
@ -17,6 +17,7 @@ download_gecko_driver()
|
||||
driver = configure_firefox_driver()
|
||||
|
||||
executor = ThreadPoolExecutor(5)
|
||||
loop = asyncio.get_running_loop()
|
||||
|
||||
stations_cb = CallbackData('station', 'direction')
|
||||
|
||||
@ -49,7 +50,6 @@ async def home_office(
|
||||
)
|
||||
message = 'Остановка Б. Академическая ул, д. 15'
|
||||
|
||||
loop = asyncio.get_running_loop()
|
||||
text = await loop.run_in_executor(executor, parse_site, driver, url, message)
|
||||
|
||||
# text = parse_site(
|
||||
|
Loading…
x
Reference in New Issue
Block a user