mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
formatting
This commit is contained in:
parent
cb66620dba
commit
846881136c
@ -64,6 +64,8 @@ import uuid
|
|||||||
|
|
||||||
# Factory that defines the name and details of the module and allows Autopsy
|
# Factory that defines the name and details of the module and allows Autopsy
|
||||||
# to create instances of the modules that will do the analysis.
|
# to create instances of the modules that will do the analysis.
|
||||||
|
|
||||||
|
|
||||||
class GPXParserFileIngestModuleFactory(IngestModuleFactoryAdapter):
|
class GPXParserFileIngestModuleFactory(IngestModuleFactoryAdapter):
|
||||||
|
|
||||||
moduleName = "GPX Parser"
|
moduleName = "GPX Parser"
|
||||||
@ -131,7 +133,8 @@ class GPXParserFileIngestModule(FileIngestModule):
|
|||||||
fileName = os.path.join(self.dirName, uuid.uuid4().hex + ".gpx")
|
fileName = os.path.join(self.dirName, uuid.uuid4().hex + ".gpx")
|
||||||
|
|
||||||
# Create a GeoArtifactsHelper for this file.
|
# Create a GeoArtifactsHelper for this file.
|
||||||
geoArtifactHelper = GeoArtifactsHelper(self.skCase, self.moduleName, None, file)
|
geoArtifactHelper = GeoArtifactsHelper(
|
||||||
|
self.skCase, self.moduleName, None, file)
|
||||||
|
|
||||||
if self.writeDebugMsgs:
|
if self.writeDebugMsgs:
|
||||||
self.log(Level.INFO, "Processing " + file.getUniquePath() +
|
self.log(Level.INFO, "Processing " + file.getUniquePath() +
|
||||||
@ -244,7 +247,6 @@ class GPXParserFileIngestModule(FileIngestModule):
|
|||||||
self.fileCount += 1
|
self.fileCount += 1
|
||||||
return IngestModule.ProcessResult.OK
|
return IngestModule.ProcessResult.OK
|
||||||
|
|
||||||
|
|
||||||
def shutDown(self):
|
def shutDown(self):
|
||||||
message = IngestMessage.createMessage(
|
message = IngestMessage.createMessage(
|
||||||
IngestMessage.MessageType.DATA, GPXParserFileIngestModuleFactory.moduleName,
|
IngestMessage.MessageType.DATA, GPXParserFileIngestModuleFactory.moduleName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user