Skip to content

Commit

Permalink
新增对局信息页 战绩获取失败时的判断, 战绩部分留空但保证其他功能正常
Browse files Browse the repository at this point in the history
  • Loading branch information
Hpero4 committed Sep 27, 2023
1 parent ee49322 commit 0cc0876
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,10 +900,10 @@ def process_item(item):
])
begIdx = endIdx + 1
except SummonerGamesNotFound:
return None

gamesInfo = [processGameData(game)
for game in origGamesInfo["games"][:11]]
gamesInfo = []
else:
gamesInfo = [processGameData(game)
for game in origGamesInfo["games"][:11]]

_, kill, deaths, assists, _, _ = parseGames(gamesInfo)

Expand Down

0 comments on commit 0cc0876

Please sign in to comment.