James McCool commited on
Commit
c645802
·
1 Parent(s): b7931c0

adjusting salary declaration in exposure increase

Browse files
Files changed (1) hide show
  1. global_func/exposure_spread.py +2 -2
global_func/exposure_spread.py CHANGED
@@ -406,10 +406,10 @@ def exposure_spread(working_frame, exposure_player, exposure_target, comp_salary
406
  else:
407
  row_data = working_frame.iloc[row]
408
  working_columns = working_frame.columns
409
-
 
410
  for col in working_columns:
411
  if row_data[col] in comparable_player_list:
412
- current_lineup_salary = working_frame.iloc[row]['Salary']
413
  current_player = row_data[col]
414
 
415
  # Check salary eligibility using helper function
 
406
  else:
407
  row_data = working_frame.iloc[row]
408
  working_columns = working_frame.columns
409
+ current_lineup_salary = working_frame.iloc[row]['Salary']
410
+
411
  for col in working_columns:
412
  if row_data[col] in comparable_player_list:
 
413
  current_player = row_data[col]
414
 
415
  # Check salary eligibility using helper function