changeset 48:521c9b65f738

Fixed a typo on line 655 which did not allow .xls patterns to be converted to scenes
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Tue, 24 Oct 2017 16:53:58 +0100
parents 659fa2db6fc7
children b11264117ddb
files python/simscene.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/simscene.py	Fri Oct 20 11:57:28 2017 +0100
+++ b/python/simscene.py	Tue Oct 24 16:53:58 2017 +0100
@@ -652,7 +652,7 @@
 
                     # Also update the times from the patterns
                     for pt in pattern_timedict:
-                        pattern_timedict[pt] = [(s0, s[1] + new_start_time, s[2] + new_start_time) for s in
+                        pattern_timedict[pt] = [(s[0], s[1] + new_start_time, s[2] + new_start_time) for s in
                                                 pattern_timedict[pt]]
 
                         if pt in timedict: