mirror of
https://github.com/tuya-cloudcutter/tuya-cloudcutter.git
synced 2026-02-19 21:51:18 +01:00
Add mcu_software_version fallback when version is not in storage.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user