update get_table_of_contents.py for wsgi mounting
Merge pull request #149 from clovis/master

update get_table_of_contents.py for wsgi mounting