1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-06-30 11:02:54 -05:00

Use insert for all sys.path manipulations

Closes #6867.
This commit is contained in:
Yen Chi Hsuan
2015-09-15 21:30:24 +08:00
committed by Jaime Marquínez Ferrándiz
parent 2f962d0a91
commit 95240b8093
6 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import sys
# Import youtube_dl
ROOT_DIR = os.path.join(os.path.dirname(__file__), '..')
sys.path.append(ROOT_DIR)
sys.path.insert(0, ROOT_DIR)
import youtube_dl