{"action":"created","issue":{"url":"https://api.github.com/repos/tobimensch/termsql/issues/4","labels_url":"https://api.github.com/repos/tobimensch/termsql/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tobimensch/termsql/issues/4/comments","events_url":"https://api.github.com/repos/tobimensch/termsql/issues/4/events","html_url":"https://github.com/tobimensch/termsql/issues/4","id":70217642,"number":4,"title":"Environment variable error","user":{"login":"gknisely","id":2676277,"avatar_url":"https://avatars.githubusercontent.com/u/2676277?v=3","gravatar_id":"","url":"https://api.github.com/users/gknisely","html_url":"https://github.com/gknisely","followers_url":"https://api.github.com/users/gknisely/followers","following_url":"https://api.github.com/users/gknisely/following{/other_user}","gists_url":"https://api.github.com/users/gknisely/gists{/gist_id}","starred_url":"https://api.github.com/users/gknisely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gknisely/subscriptions","organizations_url":"https://api.github.com/users/gknisely/orgs","repos_url":"https://api.github.com/users/gknisely/repos","events_url":"https://api.github.com/users/gknisely/events{/privacy}","received_events_url":"https://api.github.com/users/gknisely/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T19:43:50Z","updated_at":"2015-04-23T01:53:22Z","closed_at":"2015-04-23T01:53:22Z","body":"Getting this error on Ubuntu 14.04 with Python 2.7.6\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/termsql\", line 76, in <module>\r\n    if os.environ.get('MORE_HELP').lower() == 'true':\r\nAttributeError: 'NoneType' object has no attribute 'lower'\r\n\r\nShouldn't this just be:\r\nif os.environ.get('MORE_HELP') == 'True':\r\n    epilog_expanded = True\r\n\r\nWorks fine after I updated the script to the above.  \r\n"},"comment":{"url":"https://api.github.com/repos/tobimensch/termsql/issues/comments/95387350","html_url":"https://github.com/tobimensch/termsql/issues/4#issuecomment-95387350","issue_url":"https://api.github.com/repos/tobimensch/termsql/issues/4","id":95387350,"user":{"login":"tobimensch","id":9920531,"avatar_url":"https://avatars.githubusercontent.com/u/9920531?v=3","gravatar_id":"","url":"https://api.github.com/users/tobimensch","html_url":"https://github.com/tobimensch","followers_url":"https://api.github.com/users/tobimensch/followers","following_url":"https://api.github.com/users/tobimensch/following{/other_user}","gists_url":"https://api.github.com/users/tobimensch/gists{/gist_id}","starred_url":"https://api.github.com/users/tobimensch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobimensch/subscriptions","organizations_url":"https://api.github.com/users/tobimensch/orgs","repos_url":"https://api.github.com/users/tobimensch/repos","events_url":"https://api.github.com/users/tobimensch/events{/privacy}","received_events_url":"https://api.github.com/users/tobimensch/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T01:53:22Z","updated_at":"2015-04-23T01:53:22Z","body":"Thanks for reporting this.\r\n\r\nI recently introduced this bug when trying to make this condition\r\ncase insensitive. I should've tested it my code with unset environment\r\nvariable before commiting. :-)\r\n\r\nYou changed it to the way the code was written initially and I just commited\r\nthe fix for the fix.\r\n\r\nIf you checkout the latest code, it should be fine."}}