diff --git a/app/view/main_window.py b/app/view/main_window.py index ccb64081..849188aa 100644 --- a/app/view/main_window.py +++ b/app/view/main_window.py @@ -1035,8 +1035,10 @@ def process_item(item, isAllys=False): # iconId = summoner["profileIconId"] # icon = connector.getProfileIcon(iconId) - iconId = item["championId"] - icon = connector.getChampionIcon(iconId) + championId = item.get("championId") + championId = championId if championId != None else -1 + + icon = connector.getChampionIcon(championId) origRankInfo = connector.getRankedStatsByPuuid(puuid) rankInfo = processRankInfo(origRankInfo)