From 068496b66bde65c3ea2cd36919fd0c667539a0d0 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 3 Apr 2018 23:56:31 -0700 Subject: [PATCH] Support Python versions up to 3.9 --- plugin/wakatime.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/wakatime.vim b/plugin/wakatime.vim index 70a0d88..f3071bd 100644 --- a/plugin/wakatime.vim +++ b/plugin/wakatime.vim @@ -284,7 +284,7 @@ let s:VERSION = '7.1.0' if !filereadable(python_bin) let paths = ['python3'] if s:IsWindows() - let pyver = 50 + let pyver = 39 while pyver >= 26 let paths = paths + [printf('/Python%d/pythonw', pyver), printf('/python%d/pythonw', pyver), printf('/Python%d/python', pyver), printf('/python%d/python', pyver)] let pyver = pyver - 1