Upated error text
This commit is contained in:
parent
7bc2391920
commit
122d80ff78
|
@ -2843,7 +2843,7 @@ class SidebandApp(MDApp):
|
||||||
if self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text != "":
|
if self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text != "":
|
||||||
val = int(self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text)
|
val = int(self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text)
|
||||||
if val < 10:
|
if val < 10:
|
||||||
raise ValueError("Invalid bi")
|
raise ValueError("Invalid beacon interval")
|
||||||
self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text = str(val)
|
self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.text = str(val)
|
||||||
|
|
||||||
self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.error = False
|
self.hardware_rnode_screen.ids.hardware_rnode_beaconinterval.error = False
|
||||||
|
|
Loading…
Reference in New Issue