summaryrefslogtreecommitdiff
path: root/sphinx/theming.py
diff options
context:
space:
mode:
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 c769cfda0..7695323e6 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -233,7 +233,7 @@ class HTMLThemeFactory(object):
target = entry_point.load()
if callable(target):
themedir = target()
- if not isinstance(path, string_types):
+ if not isinstance(themedir, string_types):
logger.warning(_('Theme extension %r does not response correctly.') %
entry_point.module_name)
else: