Use pyhton2 instead of unadorned python
This commit is contained in:
parent
2b072d642f
commit
bf115bb419
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ let s:VERSION = '0.2.2'
|
|||
let targetFile = a:last[2]
|
||||
endif
|
||||
if targetFile != ''
|
||||
let cmd = ['python', s:plugin_directory . 'packages/wakatime/wakatime.py']
|
||||
let cmd = ['python2', s:plugin_directory . 'packages/wakatime/wakatime.py']
|
||||
let cmd = cmd + ['--file', shellescape(targetFile)]
|
||||
let cmd = cmd + ['--time', printf('%f', a:time)]
|
||||
let cmd = cmd + ['--plugin', printf('vim-wakatime/%s', s:VERSION)]
|
||||
|
|
Loading…
Reference in a new issue