mirror of
https://github.com/soxoj/maigret.git
synced 2026-09-30 13:44:52 +02:00
update_site() used `s = site` inside a for-loop, which rebinds only the local loop variable and leaves self._sites[i] unchanged. The method returned self silently appearing to succeed while the database list retained the original entry. This broke --auto-disable for any site already present in the database. Fix with enumerate so the actual list element is replaced. Fixes #2750