{"action":"opened","issue":{"url":"https://api.github.com/repos/qtile/qtile/issues/815","labels_url":"https://api.github.com/repos/qtile/qtile/issues/815/labels{/name}","comments_url":"https://api.github.com/repos/qtile/qtile/issues/815/comments","events_url":"https://api.github.com/repos/qtile/qtile/issues/815/events","html_url":"https://github.com/qtile/qtile/issues/815","id":118202460,"number":815,"title":"Battery: _get_param fail when file is 0","user":{"login":"pandada8","id":3305174,"avatar_url":"https://avatars.githubusercontent.com/u/3305174?v=3","gravatar_id":"","url":"https://api.github.com/users/pandada8","html_url":"https://github.com/pandada8","followers_url":"https://api.github.com/users/pandada8/followers","following_url":"https://api.github.com/users/pandada8/following{/other_user}","gists_url":"https://api.github.com/users/pandada8/gists{/gist_id}","starred_url":"https://api.github.com/users/pandada8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandada8/subscriptions","organizations_url":"https://api.github.com/users/pandada8/orgs","repos_url":"https://api.github.com/users/pandada8/repos","events_url":"https://api.github.com/users/pandada8/events{/privacy}","received_events_url":"https://api.github.com/users/pandada8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-21T15:14:59Z","updated_at":"2015-11-21T15:14:59Z","closed_at":null,"body":"My kernel have a `0` valued `current_now` file, which cause battery widget display a error\r\nchange `if not (value in (False, None)):` to `if not(value is False or value is None)` should fix this."}}