Jon Solow commited on
Commit
699d3c9
·
1 Parent(s): 7737702

Update to week 2 and map week 17 hack

Browse files
Files changed (1) hide show
  1. src/domain/playoffs.py +4 -1
src/domain/playoffs.py CHANGED
@@ -23,6 +23,9 @@ ROSTER_WEEK_TO_PLAYOFF_WEEK = {v: k for k, v in PLAYOFF_WEEK_TO_ROSTER_WEEK.item
23
  # Still map 18 to week 1 in one direction for players on a bye in week 19
24
  ROSTER_WEEK_TO_PLAYOFF_WEEK[18] = 1
25
 
 
 
 
26
 
27
  PLAYOFF_WEEK_TO_NAME = {
28
  1: "Wildcard",
@@ -31,7 +34,7 @@ PLAYOFF_WEEK_TO_NAME = {
31
  4: "Super Bowl",
32
  }
33
 
34
- CURRENT_PLAYOFF_WEEK = 1
35
 
36
 
37
  PLAYOFFS_TEAMS = {
 
23
  # Still map 18 to week 1 in one direction for players on a bye in week 19
24
  ROSTER_WEEK_TO_PLAYOFF_WEEK[18] = 1
25
 
26
+ # TODO - remove this temp hack to get options loaded earlier in week
27
+ ROSTER_WEEK_TO_PLAYOFF_WEEK[17] = 2
28
+
29
 
30
  PLAYOFF_WEEK_TO_NAME = {
31
  1: "Wildcard",
 
34
  4: "Super Bowl",
35
  }
36
 
37
+ CURRENT_PLAYOFF_WEEK = 2
38
 
39
 
40
  PLAYOFFS_TEAMS = {