From bb84b64eb219294f78b18c81a287050b4c8e4c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 23 Apr 2019 14:01:36 +0200 Subject: [PATCH] clientfix --- client/full/src/UDSClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/full/src/UDSClient.py b/client/full/src/UDSClient.py index 298924580..09b4e8c7f 100755 --- a/client/full/src/UDSClient.py +++ b/client/full/src/UDSClient.py @@ -190,7 +190,7 @@ class UDSClient(QtGui.QMainWindow): # * Signature # * Script data # We test that the Script has correct signature, and them execute it with the parameters - script, signature, params = res['script'].decode('base64').decode('bz2'), res['signature'], json.loads(res['params'].decode('base64').decode('bz2')) + script, signature, params = res['script'].decode('base64').decode('bz2_codec'), res['signature'], json.loads(res['params'].decode('base64').decode('bz2')) if tools.verifySignature(script, signature) is False: logger.error('Signature is invalid')