🎨 - Some cleaning

This commit is contained in:
Florian SYLVAIN
2021-02-04 17:00:46 +01:00
parent 30c86facf1
commit 94ada7b487
2 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from private import token_riot
watcher = LolWatcher(token_riot)
region = 'EUW1'
def rank_track(nickname, player):
def rank_track(player):
ranked_stats = watcher.league.by_summoner(region, player['id'])
if not ranked_stats:
return 'Unranked cette saison.'