diff --git a/tools/restore.py b/tools/restore.py index f60e1de1d..66686e267 100644 --- a/tools/restore.py +++ b/tools/restore.py @@ -675,7 +675,7 @@ def main(): # first try the stable branch and see if it meets the version requirement print("Downloading candidate restore kernel...") candidate_kernel = requests.get(URL_LIST[attempt] + 'xous-' + language + '.img').content - if int.from_bytes(candidate_kernel[:4], 'little') != 1: + if int.from_bytes(candidate_kernel[:4], 'little') != 1 and int.from_bytes(candidate_kernel[:4], 'little') != 2: print("Downloaded kernel image has unexpected signature version. Trying the next image.") attempt += 1 continue