This commit is contained in:
2026-04-24 08:13:25 +02:00
parent c2c2a7ef63
commit d4825553a9
3 changed files with 26 additions and 1 deletions
@@ -145,6 +145,7 @@ def _rc_candidates(rc: str) -> list[str]:
candidates.add(rc[:i] + similar[ch] + rc[i+1:])
candidates.discard(rc)
candidates = {c for c in candidates if len(c) in (9, 10)}
return sorted(candidates)
def _rc_checksum_ok(rc: str) -> bool: