Don't fail if there is a dir inside the folder viewed
Merge pull request #82 from sebastiansier/view-fix

Don't fail if there is a dir inside the folder viewed