Skip to content
Snippets Groups Projects
Commit 146edfc3 authored by Brian Carrier's avatar Brian Carrier
Browse files

added comment about error status to sample module

parent a1640309
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
from org.sleuthkit.autopsy.casemodule import Case from org.sleuthkit.autopsy.casemodule import Case
from org.sleuthkit.autopsy.coreutils import Logger from org.sleuthkit.autopsy.coreutils import Logger
from org.sleuthkit.autopsy.report import GeneralReportModuleAdapter from org.sleuthkit.autopsy.report import GeneralReportModuleAdapter
from org.sleuthkit.autopsy.report.ReportProgressPanel import ReportStatus
# TODO: Rename the class to something more specific # TODO: Rename the class to something more specific
...@@ -103,4 +104,6 @@ def generateReport(self, baseReportDir, progressBar): ...@@ -103,4 +104,6 @@ def generateReport(self, baseReportDir, progressBar):
Case.getCurrentCase().addReport(fileName, self.moduleName, "File Count Report"); Case.getCurrentCase().addReport(fileName, self.moduleName, "File Count Report");
progressBar.increment() progressBar.increment()
progressBar.complete()
# Call this with ERROR if report was not generated
progressBar.complete(ReportStatus.COMPLETE)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment