From 95240b8093c6fe9007e33f0991ed8d54b42eaf3b Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Tue, 15 Sep 2015 21:30:24 +0800 Subject: Use `insert` for all sys.path manipulations Closes #6867. --- devscripts/make_supportedsites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devscripts/make_supportedsites.py') diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.py index 3df4385a6..8cb4a4638 100644 --- a/devscripts/make_supportedsites.py +++ b/devscripts/make_supportedsites.py @@ -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 -- cgit v1.2.3