comment out new playwright flag

This commit is contained in:
Daniel Roth 2026-04-30 15:54:23 +00:00
parent f468738510
commit 733f53892f
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,9 @@ from typing import Any, Dict, List
from backend.app.config import get_settings
from backend.pashub_fetcher.pashub_client import PashubClient, UnauthorizedError
from backend.pashub_fetcher.pashub_service import PashubService
from backend.pashub_fetcher.pashub_to_ara_trigger_request import PashubToAraTriggerRequest
from backend.pashub_fetcher.pashub_to_ara_trigger_request import (
PashubToAraTriggerRequest,
)
from backend.pashub_fetcher.token_getter import get_token_from_local_storage
from backend.utils.subtasks import task_handler
from utils.logger import setup_logger

View file

@ -22,7 +22,7 @@ def get_token_from_local_storage(
"--no-sandbox",
"--disable-dev-shm-usage",
"--disable-gpu",
"--disable-vulkan",
# "--disable-vulkan", # This is needed to run locally for some reason, but commented out in case it breaks AWS deployed version
"--single-process",
"--no-zygote",
],
@ -71,11 +71,9 @@ def get_token_from_local_storage(
logger.info(f"Login likely successful. URL: {page.url}")
token = page.evaluate(
"""() => {
token = page.evaluate("""() => {
return localStorage.getItem('token');
}"""
)
}""")
if not token:
raise Exception("Login succeeded but no token found")