mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fix slice crashing nuitka
This commit is contained in:
parent
00d007b9b7
commit
3b8236826c
|
@ -3110,7 +3110,10 @@ class DATA:
|
|||
# lets stick the data together, so we are not loosing it
|
||||
if len(decoded_data) > n_objects:
|
||||
file_data = b''.join(list[n_objects:])
|
||||
decoded_data = [*decoded_data[:n_objects], file_data]
|
||||
|
||||
# slice is crashing nuitka
|
||||
# decoded_data = [*decoded_data[:n_objects], file_data]
|
||||
decoded_data = decoded_data[:n_objects] + [file_data]
|
||||
|
||||
if decoded_data[0] in [b'm']:
|
||||
checksum_delivered = str(decoded_data[2], "utf-8").lower()
|
||||
|
|
Loading…
Reference in a new issue