Adjust path so version can get imported properly

This commit is contained in:
Matt Wright
2012-03-28 11:51:18 -04:00
parent 245914cc9a
commit 2e37af8c01
+2 -2
View File
@@ -12,13 +12,13 @@
# serve to show the default.
import sys, os
from flask_security import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.abspath('_themes'))
sys.path.append(os.path.abspath('..'))
from flask_security import __version__
# -- General configuration -----------------------------------------------------