aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/inflate_check.py
diff options
context:
space:
mode:
Diffstat (limited to 'research/experiments/044-specs/inflate_check.py')
-rw-r--r--research/experiments/044-specs/inflate_check.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/research/experiments/044-specs/inflate_check.py b/research/experiments/044-specs/inflate_check.py
index c3f37b4..d71e59e 100644
--- a/research/experiments/044-specs/inflate_check.py
+++ b/research/experiments/044-specs/inflate_check.py
@@ -72,8 +72,7 @@ def run(module, packed_streams, env, work):
got = []
for line in out:
state = json.loads(line)
- items = state['states']['inflated']
- got.append(bytes.fromhex(items[-1]['data']) if state['fault'] == 'none' and items else None)
+ got.append(bytes.fromhex(state['states']['inflated']) if state['fault'] == 'none' else None) # a bytes state (028)
return out, got