tess cache: don't include full platform - could be sensitive

This commit is contained in:
James R. Barlow
2021-12-06 15:38:26 -08:00
parent f91faf9795
commit 4c1ff1086c
2 changed files with 83 additions and 83 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ def cached_run(options, run_args, **run_kwargs):
manifest = {}
manifest['tesseract_version'] = TesseractOcrEngine.version().replace('\n', ' ')
manifest['platform'] = platform.platform()
manifest['system'] = platform.system()
manifest['python'] = platform.python_version()
manifest['argv_slug'] = cache_folder.name
manifest['sourcefile'] = str(Path(source_file).relative_to(TESTS_ROOT))