summaryrefslogtreecommitdiff
path: root/sphinx/theming.py
diff options
context:
space:
mode:
authortell-k <ffk2005@gmail.com>2015-03-12 11:22:44 +0900
committertell-k <ffk2005@gmail.com>2015-03-12 11:22:44 +0900
commitf86b0ee35b4f95488101e043c200ca6e8c07ea9d (patch)
tree0cbcf596a09704f087bacb5e78c55e41a47c37b5 /sphinx/theming.py
parent8f26544dc53dba3622050bb37e937d1ce0597c6c (diff)
downloadsphinx-git-f86b0ee35b4f95488101e043c200ca6e8c07ea9d.tar.gz
fixed. Sphinx 1.3 can't load extra theme.
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r--sphinx/theming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py
index 8f27c010c..6c2d3ad9d 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -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