Merge pull request #1777 from tell-k/fix-load-extra-theme

Sphinx 1.3 can't load extra theme.
This commit is contained in:
Takayuki SHIMIZUKAWA 2015-03-14 23:23:11 +09:00
commit 5c8062f354

View File

@ -86,7 +86,7 @@ class Theme(object):
if not path.isdir(themedir):
continue
for theme in os.listdir(themedir):
if theme != 'name':
if theme != name:
continue
if not path.isfile(path.join(themedir, theme, THEMECONF)):
continue