lefthook file back

This commit is contained in:
Dmitry Afanasyev 2022-08-14 02:32:32 +03:00
parent 581439b509
commit be00798312

View File

@ -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(