Removed use of datetime.total_seconds() so capture_tweets can use python 2.6