Fix for exception on line 311 for conf.py.