Skip to content

Commit b299c7e

Browse files
committed
fix(esp_delta_ota): Fixed the esp_delta_ota_patch_gen script
Unable to get the validation hash due to breaking change in esptool Closes #605
1 parent 9dffeba commit b299c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp_delta_ota/examples/https_delta_ota/tools/esp_delta_ota_patch_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def create_patch(chip: str, base_binary: str, new_binary: str, patch_file_name:
5454
sys.stdout.close()
5555
sys.stdout = output
5656

57-
x = re.search(r"Validation Hash: ([A-Za-z0-9]+) \(valid\)", content)
57+
x = re.search(r"Validation Hash: ([A-Za-z0-9]+) \(valid\)", content, re.IGNORECASE)
5858

5959
if x is None:
6060
print("Failed to find validation hash in base binary.")

0 commit comments

Comments
 (0)