{"action":"created","issue":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/35","labels_url":"https://api.github.com/repos/michael-lazar/rtv/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/michael-lazar/rtv/issues/35/comments","events_url":"https://api.github.com/repos/michael-lazar/rtv/issues/35/events","html_url":"https://github.com/michael-lazar/rtv/issues/35","id":60842616,"number":35,"title":"AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds' when using rtv in virtenv3.4","user":{"login":"Bertieio","id":9221294,"avatar_url":"https://avatars.githubusercontent.com/u/9221294?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertieio","html_url":"https://github.com/Bertieio","followers_url":"https://api.github.com/users/Bertieio/followers","following_url":"https://api.github.com/users/Bertieio/following{/other_user}","gists_url":"https://api.github.com/users/Bertieio/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertieio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertieio/subscriptions","organizations_url":"https://api.github.com/users/Bertieio/orgs","repos_url":"https://api.github.com/users/Bertieio/repos","events_url":"https://api.github.com/users/Bertieio/events{/privacy}","received_events_url":"https://api.github.com/users/Bertieio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T16:01:14Z","updated_at":"2015-03-12T16:32:22Z","closed_at":null,"body":"Getting this error when running rtv on centos 6.5 with python 3.4.3 in virtenv3.4 \r\n\r\n\r\n```\r\n  File \"/usr/bin/rtv\", line 9, in <module>\r\n    load_entry_point('rtv==1.0a1', 'console_scripts', 'rtv')()\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/main.py\", line 51, in main\r\n    page.loop()\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/subreddit.py\", line 24, in loop\r\n    self.draw()\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/page.py\", line 142, in draw\r\n    self._draw_content()\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/page.py\", line 177, in _draw_content\r\n    for data in self.content.iterate(page_index, step, n_cols-2):\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/content.py\", line 78, in iterate\r\n    yield self.get(index, n_cols=n_cols)\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/content.py\", line 334, in get\r\n    data = self.strip_praw_submission(submission)\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/content.py\", line 148, in strip_praw_submission\r\n    data['created'] = humanize_timestamp(sub.created_utc)\r\n  File \"/usr/lib/python2.6/site-packages/rtv-1.0a1-py2.6.egg/rtv/content.py\", line 41, in humanize_timestamp\r\n    seconds = int(timedelta.total_seconds())\r\nAttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'\r\n```"},"comment":{"url":"https://api.github.com/repos/michael-lazar/rtv/issues/comments/78518467","html_url":"https://github.com/michael-lazar/rtv/issues/35#issuecomment-78518467","issue_url":"https://api.github.com/repos/michael-lazar/rtv/issues/35","id":78518467,"user":{"login":"Bertieio","id":9221294,"avatar_url":"https://avatars.githubusercontent.com/u/9221294?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertieio","html_url":"https://github.com/Bertieio","followers_url":"https://api.github.com/users/Bertieio/followers","following_url":"https://api.github.com/users/Bertieio/following{/other_user}","gists_url":"https://api.github.com/users/Bertieio/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertieio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertieio/subscriptions","organizations_url":"https://api.github.com/users/Bertieio/orgs","repos_url":"https://api.github.com/users/Bertieio/repos","events_url":"https://api.github.com/users/Bertieio/events{/privacy}","received_events_url":"https://api.github.com/users/Bertieio/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T16:32:22Z","updated_at":"2015-03-12T16:32:22Z","body":"Sorry noob here how would I do this? "}}