Skip to content

Commit 13a4eaa

Browse files
committed
fixed issue #1
1 parent 49ff847 commit 13a4eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openrgb/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ def unpack(cls, data: bytearray, start: int = 0, index: int = 0) -> Tuple[int, M
263263

264264
buff[8] = ModeColors(buff[8])
265265
for i in range(buff[-1]):
266-
colors.append(RGBColor.unpack(data, start))
267-
start += RGBColor.size
266+
start, color = RGBColor.unpack(data, start)
267+
colors.append(color)
268268
return start, cls(index, val, *buff[:9], colors)
269269

270270

0 commit comments

Comments
 (0)