Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

IndexError: list index out of range #1

Open
wreleven opened this issue Apr 13, 2010 · 0 comments
Open

IndexError: list index out of range #1

wreleven opened this issue Apr 13, 2010 · 0 comments

Comments

@wreleven
Copy link

Throws and error if you include an empty string list property.

Line 474 of /search/ in get_search_phrases:
if (isinstance(values[0], basestring) and

Easy fix would be:
if (len(values) > 0 and isinstance(values[0], basestring) and

Though it could be tackled many many ways.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant