mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02:00
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
Block a user