Make the linter happy again

pull/199/head
Ashley Whetter 5 years ago
parent 4bccd1bfe7
commit b5b2b2f08e

@ -12,7 +12,7 @@ from sphinx.util.docstrings import prepare_docstring
import sphinx.util.logging import sphinx.util.logging
import unidecode import unidecode
from ..settings import API_ROOT from ..settings import API_ROOT, TEMPLATE_DIR
LOGGER = sphinx.util.logging.getLogger(__name__) LOGGER = sphinx.util.logging.getLogger(__name__)
@ -164,8 +164,6 @@ class SphinxMapperBase(object):
""" """
def __init__(self, app, template_dir=None, url_root=None): def __init__(self, app, template_dir=None, url_root=None):
from ..settings import TEMPLATE_DIR
self.app = app self.app = app
template_paths = [TEMPLATE_DIR] template_paths = [TEMPLATE_DIR]

Loading…
Cancel
Save