Skip to content

Commit

Permalink
RGBColor type hint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jath03 committed Aug 29, 2020
1 parent 06b1084 commit febd606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openrgb/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def unpack(cls, data: bytearray, start: int = 0, *args) -> Tuple[int, RGBColor]:
return (start + size), cls(r, g, b)

@classmethod
def fromHSV(cls, hue: int, saturation: int, value: int) -> CT:
def fromHSV(cls, hue: int, saturation: int, value: int) -> RGBColor:
'''
Creates a RGBColor object from HSV values using colorsys
'''
Expand Down

0 comments on commit febd606

Please sign in to comment.