Fix to keep strings.txt from sqlite dbs from processing

-Fix to keep strings.txt from sqlite dbs from processing
This commit is contained in:
harmj0y
2025-10-02 12:27:49 +09:00
parent 86a8af65f9
commit 085593e1aa
@@ -105,7 +105,7 @@ class SqliteParser(EnrichmentModule):
"sqlite 3.x database" in file_enriched.magic_type.lower()
or file_enriched.file_name.lower().endswith(".sqlite")
)
return should_run
return (should_run and not file_enriched.is_plaintext)
def _analyze_sqlite_database(self, file_path: str, file_enriched) -> EnrichmentResult | None:
"""Analyze SQLite database file and generate enrichment result.