1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-08 10:33:33 +08: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 dabiboo
Unverified
parent f810b95d78
commit bf371b9d3d
6 changed files with 6 additions and 6 deletions
+1 -1
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