mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
gateway switch bug fix,Click()
This commit is contained in:
parent
f3776f1c51
commit
4837bfcf60
@ -159,7 +159,7 @@ class GateWayPage(Page):
|
||||
|
||||
cur_li = self._MyList[self._PsIndex]
|
||||
if cur_li._Active == True:
|
||||
out = commands.getstatusoutput("sudo ip route | grep default | cut -d " " -f3")
|
||||
out = commands.getstatusoutput("sudo ip route | grep default | cut -d \" \" -f3")
|
||||
if len(out[1]) > 7:
|
||||
self._Screen._MsgBox.SetText(out[1])
|
||||
self._Screen._MsgBox.Draw()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user