Fix missing break statement in device_config

This commit is contained in:
Gnome Ann 2021-11-03 12:42:04 -04:00
parent aa998ba5e9
commit fe2987d894
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ def device_config(model):
primaryselect = input("device ID> ")
if(primaryselect.isnumeric() and 0 <= int(primaryselect) < device_count):
breakmodel.primary_device = int(primaryselect)
break
else:
print(f"{colors.RED}Please enter an integer between 0 and {device_count-1}.{colors.END}")
else: