From 9a88cfa8eae7f33bfe6cb450f0931f615450c708 Mon Sep 17 00:00:00 2001 From: haerfest Date: Sat, 1 Jan 2022 20:56:44 +0100 Subject: [PATCH] Fix carrier chunk not having end attribute set. --- wave2uef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wave2uef.py b/wave2uef.py index 98de32d..305be19 100755 --- a/wave2uef.py +++ b/wave2uef.py @@ -189,7 +189,7 @@ def state_sync(stream, chunks): def state_carrier(stream, chunks): chunks.append(CarrierChunk()) - chunks[-1].start = stream.tell() + chunks[-1].start = chunks[-1].end = stream.tell() try: # A byte consists of a start bit (0), eight data bits, and a stop bit