diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-05-11 16:45:24 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-05-11 16:45:24 +0300 |
commit | bac9fcbb561d0346dc1c08eda9a2978816ce46b0 (patch) | |
tree | bb0725bf9db6ed7a6ae1a14a8e531189a093d79c /sphinx/theming.py | |
parent | acb9ab6eb96067ace669a5941734e0e58423eb0f (diff) |
Fix #3738: Nonsensical code in theming.py
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r-- | sphinx/theming.py | 2 |
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: |