Add mcu_software_version fallback when version is not in storage.

This commit is contained in:
Cossid
2025-06-09 09:39:36 -05:00
parent cfb69f9092
commit 54340050cf

View File

@@ -286,8 +286,8 @@ def run_directory(directory, token=None):
print('[!] software_version was not found')
return
if mcu_software_version is None:
print('[!] mcu_software_version was not found')
return
print('[!] mcu_software_version was not found, falling back to 1.0.0')
mcu_software_version = "1.0.0"
if baseline_version is None:
print('[!] baseline_version was not found')
return