forked from LBRYCommunity/lbry-sdk
fix equality instead of mod
This commit is contained in:
parent
57f1108df2
commit
4d83d42b4c
1 changed files with 1 additions and 2 deletions
|
@ -94,7 +94,7 @@ class SearchIndex:
|
|||
else:
|
||||
yield extract_doc(doc, self.index)
|
||||
count += 1
|
||||
if count % 100:
|
||||
if count % 100 == 0:
|
||||
self.logger.info("Indexing in progress, %d claims.", count)
|
||||
self.logger.info("Indexing done for %d claims.", count)
|
||||
|
||||
|
@ -206,7 +206,6 @@ class SearchIndex:
|
|||
self.short_id_cache[key] = result
|
||||
return self.short_id_cache.get(key, None)
|
||||
|
||||
|
||||
async def search(self, **kwargs):
|
||||
if 'channel' in kwargs:
|
||||
result = await self.resolve_url(kwargs.pop('channel'))
|
||||
|
|
Loading…
Reference in a new issue