summaryrefslogtreecommitdiff
path: root/devscripts/gh-pages
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-09-15 21:30:24 +0800
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-09-26 22:04:41 +0200
commit95240b8093c6fe9007e33f0991ed8d54b42eaf3b (patch)
tree2150b3be7e0eab61fd4b344ca5faef282e396203 /devscripts/gh-pages
parent2f962d0a91d22becd59489a9d879b1caafadefed (diff)
Use `insert` for all sys.path manipulations
Closes #6867.
Diffstat (limited to 'devscripts/gh-pages')
-rwxr-xr-xdevscripts/gh-pages/update-sites.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/gh-pages/update-sites.py b/devscripts/gh-pages/update-sites.py
index d3ef5f0b5..503c1372f 100755
--- a/devscripts/gh-pages/update-sites.py
+++ b/devscripts/gh-pages/update-sites.py
@@ -6,7 +6,7 @@ import os
import textwrap
# We must be able to import youtube_dl
-sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
import youtube_dl