Jon Solow
commited on
Commit
·
fe1cd2c
1
Parent(s):
a5bb5a0
Add correct fix to try-except
Browse files- src/stats.py +1 -1
src/stats.py
CHANGED
@@ -193,7 +193,7 @@ def get_live_stats() -> dict[int, dict[str, dict[str, float]]]:
|
|
193 |
try:
|
194 |
return get_yahoo_stats()
|
195 |
except Exception:
|
196 |
-
return {}
|
197 |
|
198 |
|
199 |
YAHOO_TO_STAT_MAP: dict[str, dict[str, str]] = {
|
|
|
193 |
try:
|
194 |
return get_yahoo_stats()
|
195 |
except Exception:
|
196 |
+
return {w: {} for w in NFLVERSE_STAT_WEEK_TO_PLAYOFF_WEEK.values()}
|
197 |
|
198 |
|
199 |
YAHOO_TO_STAT_MAP: dict[str, dict[str, str]] = {
|