mirror of
https://github.com/elisspace/autopsy.git
synced 2026-08-30 08:01:57 +00:00
python report module shows up in the tree
This commit is contained in:
@@ -64,6 +64,7 @@ class SampleGeneralReportModule(GeneralReportModuleAdapter):
|
||||
# Write the result to the report file.
|
||||
report = open(reportPath + '\\' + self.getRelativeFilePath(), 'w')
|
||||
report.write("file count = %d" % fileCount)
|
||||
Case.getCurrentCase().addReport(report.name, "SampleGeneralReportModule", "Sample Python Report");
|
||||
report.close()
|
||||
progressBar.increment()
|
||||
progressBar.complete()
|
||||
Reference in New Issue
Block a user