Skip to content

Commit febd606

Browse files
committed
RGBColor type hint fix
1 parent 06b1084 commit febd606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openrgb/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def unpack(cls, data: bytearray, start: int = 0, *args) -> Tuple[int, RGBColor]:
152152
return (start + size), cls(r, g, b)
153153

154154
@classmethod
155-
def fromHSV(cls, hue: int, saturation: int, value: int) -> CT:
155+
def fromHSV(cls, hue: int, saturation: int, value: int) -> RGBColor:
156156
'''
157157
Creates a RGBColor object from HSV values using colorsys
158158
'''

0 commit comments

Comments
 (0)