mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
6105 Clean up and bug fixes for GPX Parser
This commit is contained in:
parent
174644f13f
commit
f2e8e01a0c
@ -178,7 +178,7 @@ class GPXParserDataSourceIngestModule(DataSourceIngestModule):
|
|||||||
if (point.time != None):
|
if (point.time != None):
|
||||||
timeStamp = long(time.mktime(point.time.timetuple()))
|
timeStamp = long(time.mktime(point.time.timetuple()))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log(Level.WARNING, "Error getting track timestamp from " + file.getUniquePath() + " (objID = " + str(file.getId()) + "):" + e)
|
self.log(Level.WARNING, "Error getting track timestamp from " + file.getUniquePath() + " (objID = " + str(file.getId()) + "):" + str(e))
|
||||||
|
|
||||||
geoPointList.addPoint(GeoTrackPoint(point.latitude, point.longitude, elevation, None, 0, 0, 0, timeStamp))
|
geoPointList.addPoint(GeoTrackPoint(point.latitude, point.longitude, elevation, None, 0, 0, 0, timeStamp))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user