From 59beffa43060fda0cd51db282fffff09e5449be6 Mon Sep 17 00:00:00 2001 From: Ori Hoch Date: Fri, 26 Jan 2024 09:41:09 +0200 Subject: [PATCH] fix for selenium url --- anyway/infographic_image_generator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anyway/infographic_image_generator.py b/anyway/infographic_image_generator.py index 4124e95e..be235d8e 100644 --- a/anyway/infographic_image_generator.py +++ b/anyway/infographic_image_generator.py @@ -14,7 +14,8 @@ IMAGES_DOWNLOAD_PATH_IN_CONTAINER = "/var/selenium/tempdata" selenium_url = secrets.get('SELENIUM_URL') -selenium_hub_url = f"https://{selenium_url.replace("selenium.", "selenium-hub.")}/wd/hub" +selenium_hub_url = selenium_url.replace("selenium.", "selenium-hub.") +selenium_hub_url = f"https://{selenium_hub_url}/wd/hub" selenium_remote_results_url = f"https://{selenium_url}/tempdata" CHROME_PARTIALLY_DOWNLOADED_FILE_EXTENSION = "crdownload"