eris

- Elasticsearch Recon Ingestion Scripts (ERIS) 🔎
git clone git://git.acid.vegas/-c.git
Log | Files | Refs | Archive | README | LICENSE

commit b78b99e0608f983d9c3e693f0b37665b76f5188f
parent da065c688960fb2ef5ab75040aad4eafb365bbe5
Author: acidvegas <acid.vegas@acid.vegas>
Date: Thu, 7 Mar 2024 22:57:59 -0500

Changed yield to return when sentinal value is recieved through the FIFO

Diffstat:
Mingestors/ingest_massdns.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ingestors/ingest_massdns.py b/ingestors/ingest_massdns.py
@@ -77,7 +77,7 @@ async def process_data(file_path: str):
 
             # Sentinel value to indicate the end of a process (for closing out a FIFO stream)
             if line == '~eof':
-                yield last
+                return last
 
             # Skip empty lines
             if not line: