Skip to content

Commit

Permalink
Forgot to commit one extra line for issue ggordan#93
Browse files Browse the repository at this point in the history
  • Loading branch information
digeomel committed Jul 29, 2016
1 parent 18f799c commit b8eb75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def web_color(self):
"""Returns the color in the line, if any CSS color name is found."""
matches = re.search(self.WEB_COLORS_REGEX, self.text)
if matches:
return matches.group(0)
return matches.group(1)

def hex_color(self):
"""Returns the color in the line, if any hex is found."""
Expand Down

0 comments on commit b8eb75d

Please sign in to comment.