From f03a7552b100482951963f1b66707d1868562c9f Mon Sep 17 00:00:00 2001 From: logon84 Date: Fri, 19 Jul 2024 20:01:40 +0200 Subject: [PATCH] Update pySVS.py --- pySVS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySVS.py b/pySVS.py index 33c9a86..3cc2a46 100644 --- a/pySVS.py +++ b/pySVS.py @@ -257,7 +257,7 @@ def svs_encode(ftype, param, data=""): frame = FRAME_PREAMBLE + SVS_FRAME_TYPES[ftype] + (len(frame) + 7).to_bytes(2,"little") + frame frame = frame + crc_hqx(frame,0).to_bytes(2, 'little') - meta = "%s%s%s" % (ftype, " " + str([param]), " "[:len(str(data))] + str(data)) + meta = ftype + " " + str([param]) + " "[:len(str(data))] + str(data) return [frame, meta] def svs_decode(frame):