Skip to content

Commit

Permalink
meraki-analytics#459 Fix: Adding "CHERRY" to the Queue Enum
Browse files Browse the repository at this point in the history
This commit fixes the issue where a ValueError is raised when retrieving league_entries.fives for a summoner who has played Arena games. By adding "CHERRY" to the Queue enum, the error is resolved.
  • Loading branch information
CarlVictorV committed Aug 27, 2024
1 parent cc686bc commit 48d3149
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cassiopeia/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ class Queue(Enum):
nexus_blitz = "NEXUS_BLITZ" # 1300
ultimate_spellbook = "ULTIMATE_SPELLBOOK" # 1400
rings_of_wrath = "RINGS_OF_WRATH" # 1700
arena = "CHERRY" #1710
pick_urf_games = "PICK_URF_GAMES" # 1900
tutorial1 = "TUTORIAL_1" # Summoner's Rift Tutorial 1
tutorial2 = "TUTORIAL_2" # Summoner's Rift Tutorial 2
Expand Down Expand Up @@ -699,6 +700,7 @@ def id(self):
Queue.nexus_blitz: 1300, # Nexus Blitz map Nexus Blitz
Queue.ultimate_spellbook: 1400, # Summoner's Rift Ultimate Spellbook
Queue.rings_of_wrath: 1700, # Rings of Wrath
Queue.arena: 1710, # Cherry
Queue.pick_urf_games: 1900, # Summoner's Rift Pick URF Games
Queue.tutorial1: 2000, # Summoner's Rift Tutorial 1
Queue.tutorial2: 2010, # Summoner's Rift Tutorial 2
Expand Down

0 comments on commit 48d3149

Please sign in to comment.