dev@locazia: fix indexer

This commit is contained in:
user 2024-03-08 10:48:50 +03:00
parent 5b57f84dcb
commit 91d8220a30
1 changed files with 1 additions and 6 deletions

View File

@ -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()