James McCool commited on
Commit
e5cc656
·
1 Parent(s): b3c964e

Remove redundant assignment of display_frame in app.py: eliminate unnecessary line that sets display_frame to working_frame, streamlining the logic for frame selection based on user input.

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -1094,7 +1094,6 @@ with tab2:
1094
  display_frame = st.session_state['working_frame']
1095
  elif display_frame_source == 'Export Base':
1096
  display_frame = st.session_state['export_base']
1097
- display_frame = st.session_state['working_frame']
1098
  total_rows = len(display_frame)
1099
  rows_per_page = 500
1100
  total_pages = (total_rows + rows_per_page - 1) // rows_per_page # Ceiling division
 
1094
  display_frame = st.session_state['working_frame']
1095
  elif display_frame_source == 'Export Base':
1096
  display_frame = st.session_state['export_base']
 
1097
  total_rows = len(display_frame)
1098
  rows_per_page = 500
1099
  total_pages = (total_rows + rows_per_page - 1) // rows_per_page # Ceiling division