{"action":"opened","issue":{"url":"https://api.github.com/repos/kaazoo/DrQueueIPython/issues/25","labels_url":"https://api.github.com/repos/kaazoo/DrQueueIPython/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/kaazoo/DrQueueIPython/issues/25/comments","events_url":"https://api.github.com/repos/kaazoo/DrQueueIPython/issues/25/events","html_url":"https://github.com/kaazoo/DrQueueIPython/issues/25","id":98775076,"number":25,"title":"TODO: change os detection...","user":{"login":"jedie","id":71315,"avatar_url":"https://avatars.githubusercontent.com/u/71315?v=3","gravatar_id":"","url":"https://api.github.com/users/jedie","html_url":"https://github.com/jedie","followers_url":"https://api.github.com/users/jedie/followers","following_url":"https://api.github.com/users/jedie/following{/other_user}","gists_url":"https://api.github.com/users/jedie/gists{/gist_id}","starred_url":"https://api.github.com/users/jedie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedie/subscriptions","organizations_url":"https://api.github.com/users/jedie/orgs","repos_url":"https://api.github.com/users/jedie/repos","events_url":"https://api.github.com/users/jedie/events{/privacy}","received_events_url":"https://api.github.com/users/jedie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T15:58:48Z","updated_at":"2015-08-03T15:58:48Z","closed_at":null,"body":"There is often something like this:\r\n```\r\nif DRQUEUE_OS in [\"Windows\", \"Win32\"]:\r\n```\r\n-> https://github.com/kaazoo/DrQueueIPython/search?utf8=%E2%9C%93&q=windows\r\n\r\nTODO: Just change to:\r\n```\r\nif sys.platform.startswith('win'):\r\n```\r\n\r\nor maybe:\r\n```\r\nIS_WIN = sys.platform.startswith('win')\r\n\r\nif IS_WIN:\r\n```"}}