# HG changeset patch # User Nicolas Saunier # Date 1371214614 14400 # Node ID 40790d93200ecad5a774dddb5361b972cf753a5d # Parent 00800ebae698d7b652d619201b50ac92e1725faf corrected a bug for Trajectory initialization diff -r 00800ebae698 -r 40790d93200e python/moving.py --- a/python/moving.py Thu Jun 13 23:05:28 2013 -0400 +++ b/python/moving.py Fri Jun 14 08:56:54 2013 -0400 @@ -339,7 +339,7 @@ The class is iterable''' def __init__(self, positions=None): - if positions: + if positions != None: self.positions = positions else: self.positions = [[],[]]