diff options
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.py b/tools/test.py index cb501637b8..549908cf38 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1511,7 +1511,7 @@ def FormatTime(d): def FormatTimedelta(td): - if hasattr(td.total, 'total_seconds'): + if hasattr(td, 'total_seconds'): d = td.total_seconds() else: # python2.6 compat d = td.seconds + (td.microseconds / 10.0**6) |