yeah, this else statement is never reached, if we start with a folder:

https://github.com/bmihelac/shiva-server/blob/9fa91c6bec074498d450b31f5262d57fec8bf1b9/indexer.py#L174

I think it can safely be deleted