]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - devscripts/bash-completion.py
Merge tag 'upstream/2016.08.17'
[youtubedl] / devscripts / bash-completion.py
index cd26cc0895d033af03541f48815e8dad23f5161d..ce68f26f9ca39bd298f5d4149346af686257e042 100755 (executable)
@@ -5,7 +5,7 @@ import os
 from os.path import dirname as dirn
 import sys
 
 from os.path import dirname as dirn
 import sys
 
-sys.path.append(dirn(dirn((os.path.abspath(__file__)))))
+sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
 import youtube_dl
 
 BASH_COMPLETION_FILE = "youtube-dl.bash-completion"
 import youtube_dl
 
 BASH_COMPLETION_FILE = "youtube-dl.bash-completion"