From 992016663017dcaeb0f9e5eaf68c8e131143c2fc Mon Sep 17 00:00:00 2001 From: cuu Date: Wed, 9 Jan 2019 18:59:20 +0800 Subject: [PATCH] gateway bug fix --- Menu/GameShell/10_Settings/GateWay/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Menu/GameShell/10_Settings/GateWay/__init__.py b/Menu/GameShell/10_Settings/GateWay/__init__.py index 823edd0..935d56a 100644 --- a/Menu/GameShell/10_Settings/GateWay/__init__.py +++ b/Menu/GameShell/10_Settings/GateWay/__init__.py @@ -211,7 +211,9 @@ class GateWayPage(Page): tmp = tp3 if tp3 == 0: tmp = int(parts[3]) + 1 - elif tp3 > 0: + elif tp3 == 1: + tmp = int(parts[3]) + 1 + elif tp3 > 1: tmp = int(parts[3]) - 1 parts[3] = str(tmp)