]> jfr.im git - yt-dlp.git/blobdiff - devscripts/make_supportedsites.py
[cleanup] Minor fixes (See desc)
[yt-dlp.git] / devscripts / make_supportedsites.py
index 0a0d08f56fa1b80b1f7cce0c4fc0e37481fe5a88..0403c1ae636ab31ab03c8247226e7a464328361a 100644 (file)
@@ -3,9 +3,8 @@
 import os
 import sys
 
-# Import yt_dlp
-ROOT_DIR = os.path.join(os.path.dirname(__file__), '..')
-sys.path.insert(0, ROOT_DIR)
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
 import yt_dlp