Skip to content

Commit fbecbf3

Browse files
committed
Compress version should be cls version
1 parent 94ac2f1 commit fbecbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitchio/ext/overlays/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def _compress(self, convert: bool = True) -> str | bytearray:
108108
bites = bytearray()
109109

110110
# Version Header: 2 Bytes
111-
bites[:2] = struct.pack(">H", 0)
111+
bites[:2] = struct.pack(">H", self.__VERSION__)
112112
# Compressed Data
113113
bites[2:] = zlib.compress(dump, level=9)
114114

0 commit comments

Comments
 (0)