Changed get_all_cards() limit to None for card lookup
Browse files
components/upload_section.py
CHANGED
|
@@ -28,7 +28,7 @@ def render_upload_section(key: str = "file_uploader"):
|
|
| 28 |
unchanged, or None if nothing is selected yet.
|
| 29 |
"""
|
| 30 |
try:
|
| 31 |
-
cards = get_all_cards()
|
| 32 |
except Exception as e:
|
| 33 |
st.error(f"Could not load card database: {e}")
|
| 34 |
return None
|
|
|
|
| 28 |
unchanged, or None if nothing is selected yet.
|
| 29 |
"""
|
| 30 |
try:
|
| 31 |
+
cards = get_all_cards(limit=None)
|
| 32 |
except Exception as e:
|
| 33 |
st.error(f"Could not load card database: {e}")
|
| 34 |
return None
|