Skip to content

Commit

Permalink
Update search_engine_vectors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 8, 2022
1 parent 4bc32b9 commit 745b124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlinsights/search_rank/search_engine_vectors.py
Expand Up @@ -228,7 +228,7 @@ def to_zip(self, zipfilename, **kwargs):
else:
zf = zipfilename
close = False
if 'index' is not kwargs:
if 'index' not in kwargs:
kwargs['index'] = False
to_zip(self.features_, zf, 'SearchEngineVectors-features.npy')
to_zip(self.metadata_, zf, 'SearchEngineVectors-metadata.csv', **kwargs)
Expand Down

0 comments on commit 745b124

Please sign in to comment.