From dd9f7b4034085fcd888fd95ab906a95705e664b0 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Mon, 15 Apr 2024 16:49:29 +0200 Subject: [PATCH] [parser] reformat for clarity --- bitsparser.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bitsparser.py b/bitsparser.py index cb09c34..0b23fe6 100755 --- a/bitsparser.py +++ b/bitsparser.py @@ -1913,9 +1913,8 @@ def de_interleave3(group): def de_interleave_lcw(bits): tbl= [ 40, 39, 36, 35, 32, 31, 28, 27, 24, 23, 20, 19, 16, 15, 12, 11, 8, 7, 4, 3, - 41, - 38, 37, 34, 33, 30, 29, 26, 25, 22, 21, 18, 17, 14, 13, 10, 9, 6, 5, 2, 1, 46, 45, 44, 43, - 42] + 41, 38, 37, 34, 33, 30, 29, 26, 25, 22, 21, 18, 17, 14, 13, 10, 9, 6, 5, 2, + 1, 46, 45, 44, 43, 42] lcw=[bits[x-1:x] for x in tbl] return (''.join(lcw[:7]),''.join(lcw[7:20]),''.join(lcw[20:]))