James McCool
commited on
Commit
·
8d70403
1
Parent(s):
066fad7
ping
Browse files
global_func/exposure_spread.py
CHANGED
|
@@ -304,7 +304,6 @@ def exposure_spread(working_frame, exposure_player, exposure_target, comp_salary
|
|
| 304 |
# Remove this player from the list to avoid duplicates in the same row
|
| 305 |
comparable_player_list = [p for p in comparable_player_list if p != insert_player]
|
| 306 |
else:
|
| 307 |
-
# Original logic for non-zero exposure targets
|
| 308 |
for col in working_columns:
|
| 309 |
if row_data[col] == exposure_player:
|
| 310 |
insert_player = random.choice(comparable_player_list)
|
|
|
|
| 304 |
# Remove this player from the list to avoid duplicates in the same row
|
| 305 |
comparable_player_list = [p for p in comparable_player_list if p != insert_player]
|
| 306 |
else:
|
|
|
|
| 307 |
for col in working_columns:
|
| 308 |
if row_data[col] == exposure_player:
|
| 309 |
insert_player = random.choice(comparable_player_list)
|