Merge pull request #3489 from esaunders/develop

Fix problem with Reports path.
This commit is contained in:
Richard Cordovano 2018-03-05 19:29:59 -05:00 committed by GitHub
commit b4a73dfb40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,7 +489,7 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info
if 'BulkExtractor' in path or 'Smirk' in path: if 'BulkExtractor' in path or 'Smirk' in path:
# chop off the last folder (which contains a date/time) # chop off the last folder (which contains a date/time)
path = path[:path.rfind('\\')] path = path[:path.rfind('\\')]
if '\\Reports\\AutopsyTestCase HTML Report' in path: if 'Reports\\AutopsyTestCase HTML Report' in path:
path = 'Reports\\AutopsyTestCase HTML Report' path = 'Reports\\AutopsyTestCase HTML Report'
if parent_id in files_table.keys(): if parent_id in files_table.keys():