diff --git a/chess/svg.py b/chess/svg.py index 84a7e4eea..f31c9884d 100644 --- a/chess/svg.py +++ b/chess/svg.py @@ -129,7 +129,7 @@ def _color(colors: Dict[str, str], color: str) -> Tuple[str, float]: elif len(color) == 9: return color[:7], int(color[7:], 16) / 0xff except ValueError: - pass # Ignore invalid hex. + pass # Ignore invalid hex value return color, 1.0