From 1cee0a26193fc484baf1f35eb5a7e31ab1da953f Mon Sep 17 00:00:00 2001 From: Chad Attermann Date: Wed, 29 May 2024 09:04:14 -0600 Subject: [PATCH] Fix for broken `--rom` manual device provisioning Initializes `selected_model` with the value of model specified on the command line. --- RNS/Utilities/rnodeconf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index 67763e3..6ba96c8 100755 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -3310,6 +3310,8 @@ def main(): if len(args.model) == 2: model = ord(bytes.fromhex(args.model)) + # Initialize selected_model from specified model + selected_model = model if args.hwrev != None and (args.hwrev > 0 and args.hwrev < 256): hwrev = chr(args.hwrev)