Skip to content

Commit

Permalink
Fix #202 : Display league ID in title
Browse files Browse the repository at this point in the history
  • Loading branch information
axel3rd committed Aug 24, 2021
1 parent d7f4a1f commit 16fcde1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The main output is displaying:
- Your team line by line, ordered by efficiency score (*Eff.*), with the players quotation/prices (*Q.*):

```
========== Your league name ==========
========== Your league name (leagueId) ==========
Out: Aouar Houssem (M - 34.88) - INJURY_ORANGE - Inconnu (depuis 12/11) - Inconnu
Out: Ambroise Oyongo (D - 11.85) - INJURY_ORANGE - Blessure au genou (depuis 04/11) - Inconnu
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/blondin/mpg/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static void process(ApiClients apiClients, Config config) {
}

static void processLeague(League league, ApiClients apiClients, Config config) {
LOG.info("========== {} ==========", league.getName());
LOG.info("========== {} ({}) ==========", league.getName(), league.getId());
if (league.getChampionship().equals(ChampionshipType.CHAMPIONS_LEAGUE)) {
LOG.info("\nSorry, Champions League is currently not supported.\n");
return;
Expand Down

0 comments on commit 16fcde1

Please sign in to comment.