Fix #325 ImportError: cannot import name 'timedelta_seconds'