mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
handle split char false positive
This commit is contained in:
parent
2392ff3b53
commit
00d007b9b7
1 changed files with 1 additions and 1 deletions
|
@ -3104,7 +3104,7 @@ class DATA:
|
||||||
os.makedirs(f"{folder_path}/{callsign_path}")
|
os.makedirs(f"{folder_path}/{callsign_path}")
|
||||||
|
|
||||||
split_char = b"\0;\1;"
|
split_char = b"\0;\1;"
|
||||||
n_objects = 8
|
n_objects = 9
|
||||||
decoded_data = data_frame.split(split_char)
|
decoded_data = data_frame.split(split_char)
|
||||||
# if we have a false positive in case our split_char is available in data
|
# if we have a false positive in case our split_char is available in data
|
||||||
# lets stick the data together, so we are not loosing it
|
# lets stick the data together, so we are not loosing it
|
||||||
|
|
Loading…
Reference in a new issue