Skip to content

Commit 48d3149

Browse files
committed
meraki-analytics#459 Fix: Adding "CHERRY" to the Queue Enum
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.
1 parent cc686bc commit 48d3149

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cassiopeia/data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ class Queue(Enum):
605605
nexus_blitz = "NEXUS_BLITZ" # 1300
606606
ultimate_spellbook = "ULTIMATE_SPELLBOOK" # 1400
607607
rings_of_wrath = "RINGS_OF_WRATH" # 1700
608+
arena = "CHERRY" #1710
608609
pick_urf_games = "PICK_URF_GAMES" # 1900
609610
tutorial1 = "TUTORIAL_1" # Summoner's Rift Tutorial 1
610611
tutorial2 = "TUTORIAL_2" # Summoner's Rift Tutorial 2
@@ -699,6 +700,7 @@ def id(self):
699700
Queue.nexus_blitz: 1300, # Nexus Blitz map Nexus Blitz
700701
Queue.ultimate_spellbook: 1400, # Summoner's Rift Ultimate Spellbook
701702
Queue.rings_of_wrath: 1700, # Rings of Wrath
703+
Queue.arena: 1710, # Cherry
702704
Queue.pick_urf_games: 1900, # Summoner's Rift Pick URF Games
703705
Queue.tutorial1: 2000, # Summoner's Rift Tutorial 1
704706
Queue.tutorial2: 2010, # Summoner's Rift Tutorial 2

0 commit comments

Comments
 (0)