Fix value type

This commit is contained in:
Philip Minakov 2024-03-17 19:59:32 +04:00
parent 23f80c9005
commit dcf30ea4e4
No known key found for this signature in database
GPG key ID: 932F1B884934DB0F

View file

@ -37,7 +37,7 @@ class Server:
if data is None:
break
elif data:
s = unpack('!256sBBB', data)
s = unpack('!256sbBB', data)
song: str = s[0]
status: int = s[1]
volume: int = s[2]