Refaktoring, pridani letiste pro mezipristani
This commit is contained in:
Vendored
+1
-1
@@ -23,7 +23,7 @@ class GPXParser:
|
||||
|
||||
@cached()
|
||||
async def get_times(self):
|
||||
nodes = self.run_xpath("//gpx:time")
|
||||
nodes = self.run_xpath("//gpx:trkpt/gpx:time")
|
||||
return [datetime.fromisoformat(node.text).astimezone() for node in nodes]
|
||||
|
||||
@cached()
|
||||
|
||||
Reference in New Issue
Block a user