From 52f6a82ca0ba0a8988dbf5cffdc5a813f7ba15fe Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sun, 23 Oct 2016 16:47:52 +0200 Subject: [PATCH] Make docs Python 3 compatible --- docs/conf.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ae6aa4e6..ec3e89e9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,13 +48,7 @@ project = 'django-wiki' copyright = '2013, Benjamin Bach' # noqa -path = os.path.join( - os.path.split( - os.path.abspath( - os.path.dirname(__file__) - ) - )[:-1] -)[0] +path = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) sys.path = [path] + sys.path sys.path = [os.path.join(path, 'wiki')] + sys.path -- 2.45.2