Closed cyface closed 15 years ago
Line 270 in models.py:
kwargs['mode'] = getattr(sphinxapi, kwargs.get('mode', 'SPH_MATCH_ALL'))
instead of
kwargs['mode'] = getattr(sphinxapi, kwargs.get('mode'), 'SPH_MATCH_ALL')
I was getting:
getattr(): attribute name must be string
because there was no default value being supplied...
Cheers and thanks for all your work on this!
Tim
Fixed, thanks!
Line 270 in models.py:
kwargs['mode'] = getattr(sphinxapi, kwargs.get('mode', 'SPH_MATCH_ALL'))
instead of
kwargs['mode'] = getattr(sphinxapi, kwargs.get('mode'), 'SPH_MATCH_ALL')
I was getting:
getattr(): attribute name must be string
because there was no default value being supplied...
Cheers and thanks for all your work on this!
Tim