fix #10 by ignoring all python interpreter warnings
This commit is contained in:
parent
a7fa999666
commit
7b4a4fcaec
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ let s:VERSION = '1.2.3'
|
|||
let targetFile = a:last[2]
|
||||
endif
|
||||
if targetFile != ''
|
||||
let cmd = ['python', s:plugin_directory . 'packages/wakatime/wakatime-cli.py']
|
||||
let cmd = ['python', '-W', 'ignore', s:plugin_directory . 'packages/wakatime/wakatime-cli.py']
|
||||
let cmd = cmd + ['--file', shellescape(targetFile)]
|
||||
let cmd = cmd + ['--time', substitute(printf('%f', a:time), ',', '.', '')]
|
||||
let cmd = cmd + ['--plugin', printf('vim-wakatime/%s', s:VERSION)]
|
||||
|
|
Loading…
Reference in a new issue