This commit is contained in:
StyxX65 committed 2026-06-01 15:15:43 +02:00
1 parent 4e5a8934d7
commit fa6601ffdd
7 files changed
+26 -4

No files matched your search

+2
View File
@@ -184,6 +184,8 @@ def run_file_scan(source: dict):
min_cpr_count = max(1, int(source.get("min_cpr_count", 1)))
scan_emails = bool(source.get("scan_emails", False))
scan_phones = bool(source.get("scan_phones", False))
cpr_only = bool(source.get("cpr_only", False))
ocr_lang = str(source.get("ocr_lang", "dan+eng")) or "dan+eng"
max_mb = int(source.get("max_file_mb", 50))
if source_kind == "sftp":