diff options
Diffstat (limited to 'src/script/scons-time.py')
-rw-r--r-- | src/script/scons-time.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py index 6e18892..eeddd87 100644 --- a/src/script/scons-time.py +++ b/src/script/scons-time.py @@ -715,7 +715,7 @@ class SConsTimer: lines = open(file).readlines() line = [ l for l in lines if l.endswith(object_string) ][0] result = [ int(field) for field in line.split()[:4] ] - if not index is None: + if index is not None: result = result[index] return result |