{"action":"created","issue":{"url":"https://api.github.com/repos/jakebasile/reap/issues/5","repository_url":"https://api.github.com/repos/jakebasile/reap","labels_url":"https://api.github.com/repos/jakebasile/reap/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jakebasile/reap/issues/5/comments","events_url":"https://api.github.com/repos/jakebasile/reap/issues/5/events","html_url":"https://github.com/jakebasile/reap/issues/5","id":154170221,"number":5,"title":"clients() return error if client has empty detail","user":{"login":"clothohk","id":4995368,"avatar_url":"https://avatars.githubusercontent.com/u/4995368?v=3","gravatar_id":"","url":"https://api.github.com/users/clothohk","html_url":"https://github.com/clothohk","followers_url":"https://api.github.com/users/clothohk/followers","following_url":"https://api.github.com/users/clothohk/following{/other_user}","gists_url":"https://api.github.com/users/clothohk/gists{/gist_id}","starred_url":"https://api.github.com/users/clothohk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clothohk/subscriptions","organizations_url":"https://api.github.com/users/clothohk/orgs","repos_url":"https://api.github.com/users/clothohk/repos","events_url":"https://api.github.com/users/clothohk/events{/privacy}","received_events_url":"https://api.github.com/users/clothohk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-11T06:37:30Z","updated_at":"2016-05-20T05:22:50Z","closed_at":null,"body":"I execute \"self.hv.clients()\", which shows following error:\r\n\r\nreap/api/admin.py\", line 231, in __init__\r\n    self.details = json['details'].encode('utf-8')\r\nAttributeError: 'NoneType' object has no attribute 'encode'\r\n\r\nSolution:\r\nChange: self.details = json['details'].encode('utf-8')\r\nTo:\r\n        if json['details']:\r\n            self.details = json['details'].encode('utf-8')\r\n        else:\r\n            self.details = json['details']"},"comment":{"url":"https://api.github.com/repos/jakebasile/reap/issues/comments/220519837","html_url":"https://github.com/jakebasile/reap/issues/5#issuecomment-220519837","issue_url":"https://api.github.com/repos/jakebasile/reap/issues/5","id":220519837,"user":{"login":"jakebasile","id":766907,"avatar_url":"https://avatars.githubusercontent.com/u/766907?v=3","gravatar_id":"","url":"https://api.github.com/users/jakebasile","html_url":"https://github.com/jakebasile","followers_url":"https://api.github.com/users/jakebasile/followers","following_url":"https://api.github.com/users/jakebasile/following{/other_user}","gists_url":"https://api.github.com/users/jakebasile/gists{/gist_id}","starred_url":"https://api.github.com/users/jakebasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakebasile/subscriptions","organizations_url":"https://api.github.com/users/jakebasile/orgs","repos_url":"https://api.github.com/users/jakebasile/repos","events_url":"https://api.github.com/users/jakebasile/events{/privacy}","received_events_url":"https://api.github.com/users/jakebasile/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T05:22:50Z","updated_at":"2016-05-20T05:22:50Z","body":"@clothohk, I pushed a fix for this in the `noencode` branch. I don't have an easy way to test it, can you pull that and give it a shot?"}}
{"actor":{"display_login":"jakebasile"}}