{"action":"opened","issue":{"url":"https://api.github.com/repos/pazz/urwidtrees/issues/11","labels_url":"https://api.github.com/repos/pazz/urwidtrees/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/pazz/urwidtrees/issues/11/comments","events_url":"https://api.github.com/repos/pazz/urwidtrees/issues/11/events","html_url":"https://github.com/pazz/urwidtrees/issues/11","id":60842535,"number":11,"title":"Should handle [] as None","user":{"login":"wernight","id":145667,"avatar_url":"https://avatars.githubusercontent.com/u/145667?v=3","gravatar_id":"","url":"https://api.github.com/users/wernight","html_url":"https://github.com/wernight","followers_url":"https://api.github.com/users/wernight/followers","following_url":"https://api.github.com/users/wernight/following{/other_user}","gists_url":"https://api.github.com/users/wernight/gists{/gist_id}","starred_url":"https://api.github.com/users/wernight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wernight/subscriptions","organizations_url":"https://api.github.com/users/wernight/orgs","repos_url":"https://api.github.com/users/wernight/repos","events_url":"https://api.github.com/users/wernight/events{/privacy}","received_events_url":"https://api.github.com/users/wernight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-12T16:00:39Z","updated_at":"2015-03-12T16:00:39Z","closed_at":null,"body":"If you have [example0.py](https://github.com/wernight/urwidtrees/blob/patch-1/docs/examples/example0.py) and replace `None` by replaced by `[]` or `()` it doesn't work properly.\r\n\r\nTry moving cursor down after replacing `None` by `[]` and it'll hide lines. Other strange behaviors happen with the `CollapsibleIndentedTree` and `[]`.\r\n\r\nThat probably means replacing some `if XXX is not None:` by `if not XXX:` (which is usually better anyway) in [tree.py](https://github.com/pazz/urwidtrees/blob/master/urwidtrees/tree.py) and possibly elsewhere."}}