From f86b0ee35b4f95488101e043c200ca6e8c07ea9d Mon Sep 17 00:00:00 2001 From: tell-k Date: Thu, 12 Mar 2015 11:22:44 +0900 Subject: [PATCH] fixed. Sphinx 1.3 can't load extra theme. --- sphinx/theming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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