Pytohn 2.6 datetime doesn't have a total_seconds method