mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
added comment about error status to sample module
This commit is contained in:
parent
a164030947
commit
146edfc39b
@ -39,6 +39,7 @@ from java.util.logging import Level
|
|||||||
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 @@ class SampleGeneralReportModule(GeneralReportModuleAdapter):
|
|||||||
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)
|
Loading…
x
Reference in New Issue
Block a user