mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
first attempt with message checksum
This commit is contained in:
parent
b637b917bc
commit
c5a9229207
|
@ -3118,7 +3118,7 @@ class DATA:
|
||||||
|
|
||||||
# save file to folder
|
# save file to folder
|
||||||
if filename not in [b'', b'undefined']:
|
if filename not in [b'', b'undefined']:
|
||||||
doing crc check
|
# doing crc check
|
||||||
crc = helpers.get_crc_32(data).hex().uppercase()
|
crc = helpers.get_crc_32(data).hex().uppercase()
|
||||||
validity = checksum_delivered == crc
|
validity = checksum_delivered == crc
|
||||||
logging.info(
|
logging.info(
|
||||||
|
|
Loading…
Reference in a new issue