diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | sphinx/theming.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -27,6 +27,7 @@ Bugs fixed longtable class or not (refs #3686) * #3725: Todo looks different from note in LaTeX output * #3479: stub-columns have no effect in LaTeX output +* #3738: Nonsensical code in theming.py Testing -------- 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: |