Skip to content

Commit

Permalink
Fix inline comment
Browse files Browse the repository at this point in the history
Since inline comments don't end with a dot, I fixed one in this PR. Also added the word value. Yes, I'm very pedantic. :)
  • Loading branch information
Boštjan Mejak committed Sep 24, 2020
1 parent 257cc3f commit 3d2d701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 3d2d701

Please sign in to comment.