Fixed the path to the code.

This commit is contained in:
Raoul Snyman 2012-06-13 19:23:12 +02:00
parent df5e108eff
commit 6109a22101
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ import sys
# 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(os.path.join('..', '..', '..')))
path_to_code = os.path.abspath(os.path.join(os.path.split(__file__)[0],
'..', '..', '..', '..', 'OpenLP', 'trunk'))
sys.path.insert(0, path_to_code)
# -- General configuration -----------------------------------------------------