From 3ae9431bd1a6491965fcf08bb14316a72efc9411 Mon Sep 17 00:00:00 2001 From: Joshua Greben Date: Mon, 4 Nov 2024 16:04:34 -0800 Subject: [PATCH] Properly match regex in substitiution --- libsys_airflow/plugins/folio/encumbrances/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsys_airflow/plugins/folio/encumbrances/email.py b/libsys_airflow/plugins/folio/encumbrances/email.py index 6c8fae19..b00f95c3 100644 --- a/libsys_airflow/plugins/folio/encumbrances/email.py +++ b/libsys_airflow/plugins/folio/encumbrances/email.py @@ -52,5 +52,5 @@ def subject(**kwargs): if is_production(): return f"Fix Encumbrances for {library}" else: - folio_url = re.sub('http?://', '', folio_url) + folio_url = re.sub('https?://', '', folio_url) return f"{folio_url} - Fix Encumbrances for {library}"