mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-27 16:10:11 +08:00
Adjust path so version can get imported properly
This commit is contained in:
+2
-2
@@ -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 -----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user