Use pyhton2 instead of unadorned python

This commit is contained in:
Alan Berndt 2013-07-15 15:06:26 -07:00
parent 2b072d642f
commit bf115bb419

View file

@ -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)]