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>
This commit is contained in:
Manfred Riem
2026-05-08 14:11:55 -05:00
committed by GitHub
parent eec1291896
commit 0825f508a7

View File

@@ -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: