From 881f6f5bd7ad8456f20fc1c097a4af836c3e173f Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Wed, 8 Apr 2026 09:47:08 +0200 Subject: [PATCH] remove redundant goto --- downloader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/downloader.py b/downloader.py index 746b71d..f7f098c 100644 --- a/downloader.py +++ b/downloader.py @@ -241,7 +241,6 @@ def export_invoice_pdf( if not invoice.get("reference_id"): raise RuntimeError("Invoice reference id is required to open the invoice popup") - page = _goto_with_retry(context, page, billing_url) selector = f"a[data-reference-object-id='{invoice['reference_id']}']" anchor = page.locator(selector).first if anchor.count() > 0: