Skip to content

Commit

Permalink
fixing release change detection
Browse files Browse the repository at this point in the history
  • Loading branch information
fikin committed Sep 23, 2023
1 parent de96571 commit 55dc911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ota/ota.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def indexSwRelease(data: list[str]) -> dict[str, str]:
for line in data:
arr = line.split()
ret[arr[1]] = arr[0]
ss = ("\n".join(data) + "\n").encode()
ret["release"] = hashlib.md5(ss).hexdigest()
return ret


Expand Down

0 comments on commit 55dc911

Please sign in to comment.