mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
changing split char and split char order
This commit is contained in:
parent
efd92cdd72
commit
f2e5a11348
|
@ -3103,7 +3103,7 @@ class DATA:
|
||||||
if not os.path.exists(f"{folder_path}/{callsign_path}"):
|
if not os.path.exists(f"{folder_path}/{callsign_path}"):
|
||||||
os.makedirs(f"{folder_path}/{callsign_path}")
|
os.makedirs(f"{folder_path}/{callsign_path}")
|
||||||
|
|
||||||
split_char = b"\0;\0;"
|
split_char = b"\0;\1;"
|
||||||
decoded_data = data_frame.split(split_char)
|
decoded_data = data_frame.split(split_char)
|
||||||
|
|
||||||
if decoded_data[0] in [b'm']:
|
if decoded_data[0] in [b'm']:
|
||||||
|
|
Loading…
Reference in a new issue