Skip to content

Commit 2449381

Browse files
committed
Fix en nombre de playwright en isntall_deps
1 parent a611a73 commit 2449381

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

fabricator/recipes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,13 @@ def install_deps(c: Connection | DockerRunner | Context, config: dict) -> None:
241241
pty=True
242242
)
243243

244-
# Install Playwright browsers if scraper-apigateway is installed
245-
logger.info("Checking if scraper-apigateway is installed...")
244+
# Install Playwright browsers if apigateway_scraper is installed
245+
logger.info("Checking if apigateway_scraper is installed...")
246246
scraper_check = c.run(
247247
f"bash -c 'source {venv_dir}/bin/activate && "
248248
f"cd {deploy_path} && "
249-
f"python -c \"import scraper_apigateway; print('scraper-apigateway installed')\"'", # noqa: E501
249+
f"python -c \"import apigateway_scraper; "
250+
f"print(\\\"apigateway_scraper installed\\\")\"'",
250251
pty=True,
251252
warn=True,
252253
hide=True
@@ -270,7 +271,7 @@ def install_deps(c: Connection | DockerRunner | Context, config: dict) -> None:
270271
)
271272
else:
272273
logger.info(
273-
"scraper-apigateway not found in requirements, "
274+
"apigateway_scraper not found in requirements, "
274275
"skipping Playwright browser installation."
275276
)
276277

0 commit comments

Comments
 (0)