Spaces:
Running
Running
James McCool
commited on
Commit
·
9e9bffe
1
Parent(s):
36430a1
Update position counting logic in 'Stack Finder' tab to exclude 'UTIL' from player position counts in Streamlit app
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
|
@@ -252,6 +252,8 @@ if selected_tab == 'Stack Finder':
|
|
| 252 |
|
| 253 |
# For each position they can play
|
| 254 |
for pos in player_positions:
|
|
|
|
|
|
|
| 255 |
if pos == 'UTIL':
|
| 256 |
# UTIL can be filled by any position
|
| 257 |
for p in position_counts:
|
|
|
|
| 252 |
|
| 253 |
# For each position they can play
|
| 254 |
for pos in player_positions:
|
| 255 |
+
if pos != 'UTIL':
|
| 256 |
+
position_counts[pos] += 1
|
| 257 |
if pos == 'UTIL':
|
| 258 |
# UTIL can be filled by any position
|
| 259 |
for p in position_counts:
|