opnsense-ports/audio/py-spotipy/files/patch-docs_conf.py
Franco Fichtner 91731d7c27 */*: sync with upstream
Taken from: FreeBSD
2022-12-19 09:46:37 +01:00

11 lines
498 B
Python

--- docs/conf.py.orig 2022-12-10 15:31:47 UTC
+++ docs/conf.py
@@ -17,7 +17,7 @@ import sys, os
# 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.insert(0, os.path.abspath('.'))
+sys.path.insert(0, os.path.abspath(os.path.join('..')))
import spotipy
# -- General configuration -----------------------------------------------------