mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fixed. Sphinx 1.3 can't load extra theme.
This commit is contained in:
parent
8f26544dc5
commit
f86b0ee35b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user