Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
1362d63
1
Parent(s):
9837076
making sure a broken run doesn't nuke the front end
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -112,7 +112,7 @@ if selected_tab == "NHL Updates":
|
|
| 112 |
roo_file, own_dicts = build_dk_player_level_basic_outcomes(slate_info, dk_player_hold, fd_player_hold, nhl_db)
|
| 113 |
|
| 114 |
try:
|
| 115 |
-
if roo_file is not None:
|
| 116 |
st.write("NHL Draftkings Player Level ROO refreshed")
|
| 117 |
st.table(roo_file.head(10))
|
| 118 |
else:
|
|
|
|
| 112 |
roo_file, own_dicts = build_dk_player_level_basic_outcomes(slate_info, dk_player_hold, fd_player_hold, nhl_db)
|
| 113 |
|
| 114 |
try:
|
| 115 |
+
if roo_file is not None and len(roo_file) > 0:
|
| 116 |
st.write("NHL Draftkings Player Level ROO refreshed")
|
| 117 |
st.table(roo_file.head(10))
|
| 118 |
else:
|