From 4837bfcf6081146f31022edcec4bb4e7fe4e3d2a Mon Sep 17 00:00:00 2001 From: cuu Date: Mon, 7 Jan 2019 20:37:26 +0800 Subject: [PATCH] gateway switch bug fix,Click() --- Menu/GameShell/10_Settings/GateWay/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Menu/GameShell/10_Settings/GateWay/__init__.py b/Menu/GameShell/10_Settings/GateWay/__init__.py index 31d6876..9f8afe6 100644 --- a/Menu/GameShell/10_Settings/GateWay/__init__.py +++ b/Menu/GameShell/10_Settings/GateWay/__init__.py @@ -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()