mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-08 12:52:12 +02:00
When query.split() returns an empty list (which can happen if the query is empty or whitespace-only), indexing with [0] raises an IndexError. Extract the split result first and guard against an empty list before accessing the first element. Fixes #870 |
||
|---|---|---|
| .. | ||
| trustgraph | ||
| pyproject.toml | ||
| README.md | ||