diff trafficintelligence/metadata.py @ 1144:6a8fe3ed3bc6

bug correction
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 28 Apr 2020 01:01:14 -0400
parents b3ee75b4978a
children c4c50678c856
line wrap: on
line diff
--- a/trafficintelligence/metadata.py	Tue Apr 21 00:55:02 2020 -0400
+++ b/trafficintelligence/metadata.py	Tue Apr 28 01:01:14 2020 -0400
@@ -224,7 +224,7 @@
 
     def getTrajectory(self):
         t = Trajectory()
-        for p in self.point:
+        for p in self.points:
             t.addPositionXY(p.x_coordinate, p.y_coordinate)
         return t