Updated index.py to handle no link case
Merge branch 'master' of https://github.com/pgarst/calibre