Spaces:
Running
Running
Update page_files/Categorized_Search.py
Browse files
page_files/Categorized_Search.py
CHANGED
|
@@ -740,10 +740,8 @@ with right_col:
|
|
| 740 |
new_rows = checked_rows[checked_rows["Abbreviation"] != current_abbr]
|
| 741 |
|
| 742 |
if not new_rows.empty:
|
| 743 |
-
# A new row was checked — use it
|
| 744 |
chosen = new_rows.iloc[0]
|
| 745 |
else:
|
| 746 |
-
# Same row re-checked
|
| 747 |
chosen = checked_rows.iloc[0]
|
| 748 |
|
| 749 |
abbr = chosen["Abbreviation"]
|
|
|
|
| 740 |
new_rows = checked_rows[checked_rows["Abbreviation"] != current_abbr]
|
| 741 |
|
| 742 |
if not new_rows.empty:
|
|
|
|
| 743 |
chosen = new_rows.iloc[0]
|
| 744 |
else:
|
|
|
|
| 745 |
chosen = checked_rows.iloc[0]
|
| 746 |
|
| 747 |
abbr = chosen["Abbreviation"]
|