fix: py2.6 has no timedelta.total_seconds