From 0825f508a7676b2928c9d9bd863b289a51e955bc Mon Sep 17 00:00:00 2001 From: Manfred Riem <15701806+mnriem@users.noreply.github.com> Date: Fri, 8 May 2026 14:11:55 -0500 Subject: [PATCH] Potential fix for pull request finding 'Variable defined multiple times' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/specify_cli/presets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/specify_cli/presets.py b/src/specify_cli/presets.py index 532205f50..37008c62f 100644 --- a/src/specify_cli/presets.py +++ b/src/specify_cli/presets.py @@ -2316,7 +2316,6 @@ class PresetCatalog: # Detect archive format from URL; resolve via Content-Type when needed. # `final_url` may differ from `download_url` if the server redirects. archive_fmt = detect_archive_format(download_url) - final_url = download_url try: with self._open_url(download_url, timeout=60) as response: