From 55f2f48d3abeee4356cbd3c6a001c1d1f06a29c6 Mon Sep 17 00:00:00 2001 From: "U-BASIS\\dsmyda" Date: Mon, 25 Jan 2021 17:02:17 -0500 Subject: [PATCH] Retested the template and fixed a bug with variable naming --- .../Aug2015DataSourceTutorial/FindContactsDb_v2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonExamples/Aug2015DataSourceTutorial/FindContactsDb_v2.py b/pythonExamples/Aug2015DataSourceTutorial/FindContactsDb_v2.py index dc5fce60d3..f58a156170 100644 --- a/pythonExamples/Aug2015DataSourceTutorial/FindContactsDb_v2.py +++ b/pythonExamples/Aug2015DataSourceTutorial/FindContactsDb_v2.py @@ -101,11 +101,11 @@ class ContactsDbIngestModule(DataSourceIngestModule): self.context = context # Where the analysis is done. - # The 'dataSource' object being passed in is of type org.sleuthkit.datamodel.Content. + # The 'data_source' object being passed in is of type org.sleuthkit.datamodel.Content. # See: http://www.sleuthkit.org/sleuthkit/docs/jni-docs/latest/interfaceorg_1_1sleuthkit_1_1datamodel_1_1_content.html - # 'progressBar' is of type org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProgress + # 'progress_bar' is of type org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProgress # See: http://sleuthkit.org/autopsy/docs/api-docs/latest/classorg_1_1sleuthkit_1_1autopsy_1_1ingest_1_1_data_source_ingest_module_progress.html - def process(self, dataSource, progressBar): + def process(self, data_source, progress_bar): # we don't know how much work there is yet progress_bar.switchToIndeterminate()