mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-03-04 17:14:38 -07:00
Merge 331be3ae76 into 54c7b65d5d
This commit is contained in:
commit
da513c1d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ class MessageParser:
|
|||
def process_identify(self, data, decompress=True):
|
||||
try:
|
||||
if decompress:
|
||||
data = zlib.decompress(data)
|
||||
data = zlib.decompress(data).decode('utf-8')
|
||||
self.raw_identify_data = data
|
||||
data = json.loads(data)
|
||||
self.fill_enumerations(data.get('enumerations', {}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue