{"action":"created","issue":{"url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/73","labels_url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/73/comments","events_url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/73/events","html_url":"https://github.com/bil-elmoussaoui/Hardcode-Tray/issues/73","id":95511108,"number":73,"title":"Script fails","user":{"login":"wa4557","id":6475757,"avatar_url":"https://avatars.githubusercontent.com/u/6475757?v=3","gravatar_id":"","url":"https://api.github.com/users/wa4557","html_url":"https://github.com/wa4557","followers_url":"https://api.github.com/users/wa4557/followers","following_url":"https://api.github.com/users/wa4557/following{/other_user}","gists_url":"https://api.github.com/users/wa4557/gists{/gist_id}","starred_url":"https://api.github.com/users/wa4557/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wa4557/subscriptions","organizations_url":"https://api.github.com/users/wa4557/orgs","repos_url":"https://api.github.com/users/wa4557/repos","events_url":"https://api.github.com/users/wa4557/events{/privacy}","received_events_url":"https://api.github.com/users/wa4557/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-16T19:41:31Z","updated_at":"2015-07-16T20:11:05Z","closed_at":null,"body":"Might be because of the new detect environment method\r\n\r\nTraceback (most recent call last):\r\n  File \"./script.py\", line 311, in <module>\r\n    if detect_de() in (\"pantheon\", \"xfce\"):\r\n  File \"./script.py\", line 41, in detect_de\r\n    if \"pantheon\" in [environ.get(\"DESKTOP_SESSION\"), environ.get(\"XDG_CURRENT_DESKTOP\").lower()]:\r\nAttributeError: 'NoneType' object has no attribute 'lower'"},"comment":{"url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/comments/122074644","html_url":"https://github.com/bil-elmoussaoui/Hardcode-Tray/issues/73#issuecomment-122074644","issue_url":"https://api.github.com/repos/bil-elmoussaoui/Hardcode-Tray/issues/73","id":122074644,"user":{"login":"bil-elmoussaoui","id":7660997,"avatar_url":"https://avatars.githubusercontent.com/u/7660997?v=3","gravatar_id":"","url":"https://api.github.com/users/bil-elmoussaoui","html_url":"https://github.com/bil-elmoussaoui","followers_url":"https://api.github.com/users/bil-elmoussaoui/followers","following_url":"https://api.github.com/users/bil-elmoussaoui/following{/other_user}","gists_url":"https://api.github.com/users/bil-elmoussaoui/gists{/gist_id}","starred_url":"https://api.github.com/users/bil-elmoussaoui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bil-elmoussaoui/subscriptions","organizations_url":"https://api.github.com/users/bil-elmoussaoui/orgs","repos_url":"https://api.github.com/users/bil-elmoussaoui/repos","events_url":"https://api.github.com/users/bil-elmoussaoui/events{/privacy}","received_events_url":"https://api.github.com/users/bil-elmoussaoui/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T20:11:05Z","updated_at":"2015-07-16T20:11:05Z","body":"this must be fixed now, i used DESKTOP_SESSION as environment variable "}}