Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
undertherain committed Sep 2, 2018
1 parent 693eba7 commit c843df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contextfree/contextfree.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def htmlcolor_to_rgb(str_color):
s: Color in HTML format
Returns:
list of three RGB color coponents
list of three RGB color components
"""
if not (str_color.startswith('#') and len(str_color) == 7):
raise ValueError("Bad html color format. Expected: '#RRGGBB' ")
Expand Down

0 comments on commit c843df0

Please sign in to comment.