Loading colored/hexadecimal.py +2 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ class Hex: try: int(color[1:], 16) except ValueError: raise InvalidHexColor(f'InvalidHexColor: {color}') except ValueError as exc: raise InvalidHexColor(f'InvalidHexColor: {color}') from exc # Extend shorthand #ABC -> #AABBCC, like in CSS if len(color) == 4: Loading Loading
colored/hexadecimal.py +2 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ class Hex: try: int(color[1:], 16) except ValueError: raise InvalidHexColor(f'InvalidHexColor: {color}') except ValueError as exc: raise InvalidHexColor(f'InvalidHexColor: {color}') from exc # Extend shorthand #ABC -> #AABBCC, like in CSS if len(color) == 4: Loading