{"action":"opened","issue":{"url":"https://api.github.com/repos/sshwsfc/xadmin/issues/424","repository_url":"https://api.github.com/repos/sshwsfc/xadmin","labels_url":"https://api.github.com/repos/sshwsfc/xadmin/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/sshwsfc/xadmin/issues/424/comments","events_url":"https://api.github.com/repos/sshwsfc/xadmin/issues/424/events","html_url":"https://github.com/sshwsfc/xadmin/issues/424","id":245305927,"number":424,"title":"代码中主题的连接改成https了，导致设置use_bootswatch=True无效","user":{"login":"KaraTsing","id":7589485,"avatar_url":"https://avatars1.githubusercontent.com/u/7589485?v=4","gravatar_id":"","url":"https://api.github.com/users/KaraTsing","html_url":"https://github.com/KaraTsing","followers_url":"https://api.github.com/users/KaraTsing/followers","following_url":"https://api.github.com/users/KaraTsing/following{/other_user}","gists_url":"https://api.github.com/users/KaraTsing/gists{/gist_id}","starred_url":"https://api.github.com/users/KaraTsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaraTsing/subscriptions","organizations_url":"https://api.github.com/users/KaraTsing/orgs","repos_url":"https://api.github.com/users/KaraTsing/repos","events_url":"https://api.github.com/users/KaraTsing/events{/privacy}","received_events_url":"https://api.github.com/users/KaraTsing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-25T07:11:10Z","updated_at":"2017-07-25T07:11:10Z","closed_at":null,"body":"在xadmin/plugins/themes.py\r\n`                    if False:  #False 使用改用后的方法\r\n                        h = httplib2.Http()\r\n                        resp, content = h.request(\"http://bootswatch.com/api/3.json\", 'GET', '',\r\n                            headers={\"Accept\": \"application/json\", \"User-Agent\": self.request.META['HTTP_USER_AGENT']})\r\n                        if six.PY3:\r\n                            content = content.decode()\r\n                        watch_themes = json.loads(content)['themes']\r\n                    else:\r\n                        result = requests.get(\"https://bootswatch.com/api/3.json\")\r\n                        if six.PY3:\r\n                            content = result.decode()\r\n                        watch_themes=json.loads(result.content)['themes']`\r\n"}}
{"actor":{"display_login":"KaraTsing"}}