diff python/events.py @ 882:4749b71aa7fb

corrected bugs in storage.py when having configuration files and other files in different directories: everything should be relative to directory of command line when running the program (see FAQ)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 15 Mar 2017 12:36:03 -0400
parents 8ba82b371eea
children e2452abba0e7
line wrap: on
line diff
--- a/python/events.py	Tue Mar 14 17:48:40 2017 -0400
+++ b/python/events.py	Wed Mar 15 12:36:03 2017 -0400
@@ -240,7 +240,7 @@
         # TODO add crossing zone
         pet =  moving.MovingObject.computePET(self.roadUser1, self.roadUser2, collisionDistanceThreshold)
         if pet is not None: # TODO get crossing zone and time
-            self.addIndicator(indicators.SeverityIndicator(Interaction.indicatorNames[10], {0: pet}, mostSevereIsMax = False
+            self.addIndicator(indicators.SeverityIndicator(Interaction.indicatorNames[10], {0: pet}, mostSevereIsMax = False))
 
     def setCollision(self, collision):
         '''indicates if it is a collision: argument should be boolean'''