Merge pull request #2 from bentglasstube/master

Use python2
This commit is contained in:
Alan Hamlett 2013-07-16 09:34:05 -07:00
commit f52c528888

View file

@ -84,7 +84,7 @@ let s:VERSION = '0.2.3'
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)]