1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-29 15:43:50 +00:00

fix for gpx parser and add bundle

This commit is contained in:
Greg DiCristofaro
2020-06-01 08:05:15 -04:00
parent a81e714d56
commit 8bac7f3179
2 changed files with 4 additions and 1 deletions

View File

@@ -183,7 +183,8 @@ class GPXParserFileIngestModule(FileIngestModule):
point.latitude, point.longitude, elevation, None, 0, 0, 0, timeStamp))
try:
geoArtifactHelper.addTrack("Track", geoPointList, None)
if not geoPointList.isEmpty():
geoArtifactHelper.addTrack("Track", geoPointList, None)
except Blackboard.BlackboardException as e:
self.log(Level.SEVERE, "Error posting GPS track artifact for " +
file.getUniquePath() + " (objID = " + str(file.getId()) + "):" + e.getMessage())