From a647a086621dfcf852a94f67d120ee015e9c5507 Mon Sep 17 00:00:00 2001 From: Zzaphkiel <1278228162@qq.com> Date: Sun, 14 Jan 2024 23:51:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=92=E4=BD=8D=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=8A=9F=E8=83=BD=E4=BD=BF=E7=94=A8=E4=BA=86=E6=9C=AA?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8F=98=E9=87=8F=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/view/main_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/view/main_window.py b/app/view/main_window.py index f57589ba..1dc0b8a5 100644 --- a/app/view/main_window.py +++ b/app/view/main_window.py @@ -1073,7 +1073,8 @@ def process_item(item): game for game in origGamesInfo["games"] if game["queueId"] in (420, 440)] begIdx = 15 - while len(origGamesInfo["games"]) < 11 and endIdx <= 100: + + while len(origGamesInfo["games"]) < 11 and begIdx <= 95: endIdx = begIdx + 5 origGamesInfo["games"].extend([ game for game in connector.getSummonerGamesByPuuid(puuid, begIdx, endIdx)["games"] @@ -1222,7 +1223,7 @@ def process_item(item, isAllys=False): game for game in origGamesInfo["games"] if game["queueId"] in (420, 440)] begIdx = 15 - while len(origGamesInfo["games"]) < 11 and endIdx <= 100: + while len(origGamesInfo["games"]) < 11 and begIdx <= 95: endIdx = begIdx + 5 origGamesInfo["games"].extend([ game for game in connector.getSummonerGamesByPuuid(puuid, begIdx, endIdx)["games"]