James McCool commited on
Commit
403e6d8
·
1 Parent(s): 908f7d9

Remove redundant return statement in find_name_mismatches function to streamline code execution and improve readability.

Browse files
global_func/find_name_mismatches.py CHANGED
@@ -106,9 +106,6 @@ def find_name_mismatches(contest_df, projections_df, ownership_df, fpts_df):
106
 
107
  st.success("All changes applied successfully!")
108
  return contest_raw, projections_raw, ownership_dict, fpts_dict
109
-
110
- # Return the current state if form hasn't been submitted yet
111
- return contest_raw, projections_raw, ownership_dict, fpts_dict
112
  else:
113
  st.success("All players have been automatically matched!")
114
  # Apply automatic matches
 
106
 
107
  st.success("All changes applied successfully!")
108
  return contest_raw, projections_raw, ownership_dict, fpts_dict
 
 
 
109
  else:
110
  st.success("All players have been automatically matched!")
111
  # Apply automatic matches