Merge branch 'united' into scan-test
This commit is contained in:
commit
90fd5a538a
|
@ -235,6 +235,7 @@ def device_config(model):
|
||||||
primaryselect = input("device ID> ")
|
primaryselect = input("device ID> ")
|
||||||
if(primaryselect.isnumeric() and 0 <= int(primaryselect) < device_count):
|
if(primaryselect.isnumeric() and 0 <= int(primaryselect) < device_count):
|
||||||
breakmodel.primary_device = int(primaryselect)
|
breakmodel.primary_device = int(primaryselect)
|
||||||
|
break
|
||||||
else:
|
else:
|
||||||
print(f"{colors.RED}Please enter an integer between 0 and {device_count-1}.{colors.END}")
|
print(f"{colors.RED}Please enter an integer between 0 and {device_count-1}.{colors.END}")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue