dev@locazia: fix indexer
This commit is contained in:
parent
5b57f84dcb
commit
91d8220a30
|
|
@ -101,8 +101,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
|||
).first()
|
||||
|
||||
encrypted_stored_content = session.query(StoredContent).filter(
|
||||
StoredContent.hash == item_content_hash_str,
|
||||
StoredContent.onchain_index == None
|
||||
StoredContent.hash == item_content_hash_str
|
||||
).first()
|
||||
if encrypted_stored_content:
|
||||
encrypted_stored_content_meta = encrypted_stored_content.meta
|
||||
|
|
@ -163,7 +162,3 @@ async def main_fn():
|
|||
# loop = asyncio.get_event_loop()
|
||||
# loop.run_until_complete(main())
|
||||
# loop.close()
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue