diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-09-15 21:30:24 +0800 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-09-26 22:04:41 +0200 |
commit | 95240b8093c6fe9007e33f0991ed8d54b42eaf3b (patch) | |
tree | 2150b3be7e0eab61fd4b344ca5faef282e396203 /devscripts/zsh-completion.py | |
parent | 2f962d0a91d22becd59489a9d879b1caafadefed (diff) |
Use `insert` for all sys.path manipulations
Closes #6867.
Diffstat (limited to 'devscripts/zsh-completion.py')
-rwxr-xr-x | devscripts/zsh-completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/zsh-completion.py b/devscripts/zsh-completion.py index f200f2c80..04728e8e2 100755 --- a/devscripts/zsh-completion.py +++ b/devscripts/zsh-completion.py @@ -5,7 +5,7 @@ import os 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 ZSH_COMPLETION_FILE = "youtube-dl.zsh" |